The NetBSD Project

CVS log for src/usr.sbin/quotacheck/quotacheck.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / quotacheck

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat May 13 11:51:14 2023 UTC (9 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Pull up following revision(s) (requested by chs in ticket #160):

	usr.sbin/makefs/ffs/ffs_alloc.c: revision 1.31
	sbin/tunefs/tunefs.c: revision 1.58
	sbin/fsck_ffs/setup.c: revision 1.105
	sbin/fsck_ffs/pass5.c: revision 1.56
	usr.sbin/makefs/ffs.c: revision 1.74
	usr.sbin/makefs/ffs/mkfs.c: revision 1.42
	usr.sbin/makefs/Makefile: revision 1.40
	sys/ufs/ffs/fs.h: revision 1.71
	sbin/fsdb/fsdb.c: revision 1.54
	sbin/resize_ffs/resize_ffs.c: revision 1.58
	sbin/fsck_ffs/pass4.c: revision 1.29
	usr.sbin/makefs/ffs/ffs_extern.h: revision 1.9
	sbin/newfs/mkfs.c: revision 1.133
	sys/ufs/ffs/ffs_alloc.c: revision 1.172
	sbin/fsck_ffs/pass1b.c: revision 1.24
	usr.sbin/dumpfs/dumpfs.c: revision 1.68
	sys/ufs/ffs/ffs_extern.h: revision 1.88
	usr.sbin/quotacheck/quotacheck.c: revision 1.51
	sys/ufs/ffs/ffs_subr.c: revision 1.54
	sbin/fsck_ffs/main.c: revision 1.91
	sbin/fsck_ffs/pass1.c: revision 1.63

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:
  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000
    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.
    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.
    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000
    One last pass to get all the unsigned comparisons correct.

In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jan 7 19:41:30 2023 UTC (13 months, 2 weeks ago) by chs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:

  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000

    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.

    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.

    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000

    One last pass to get all the unsigned comparisons correct.


In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Nov 17 06:40:41 2022 UTC (15 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.49: +8 -2 lines
Diff to previous 1.49 (colored)

Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new	fsck_ffs operations "-c	ea" and	"-c no-ea" to convert file systems
from UFS2 to UFS2ea and	vice-versa (both of which delete all existing extended
attributes in the process).

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 16 23:04:14 2015 UTC (8 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

improve error messages (remove \n, use __func__, etc)

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:12 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.45.2.1: +6 -6 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:43:09 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44.4.2: +6 -6 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 23 07:28:37 2013 UTC (10 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:06 2013 UTC (10 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:48 2013 UTC (10 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

resync with head

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:45 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.44.4.1: +4 -4 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:20 2013 UTC (11 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:52 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44: +12 -4 lines
Diff to previous 1.44 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Sat Apr 7 05:07:32 2012 UTC (11 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.44: +12 -4 lines
Diff to previous 1.44 (colored)

use getfsspecname()

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 6 23:25:42 2011 UTC (12 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.43: +2 -17 lines
Diff to previous 1.43 (colored)

more code deduplication

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 6 23:13:22 2011 UTC (12 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.42: +40 -46 lines
Diff to previous 1.42 (colored)

more KNF

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 6 23:07:23 2011 UTC (12 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.41: +52 -113 lines
Diff to previous 1.41 (colored)

use merged out code.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:43 2011 UTC (12 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.40: +21 -14 lines
Diff to previous 1.40 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.40.14.1 / (download) - annotate - [select for diffs], Wed Feb 9 09:51:17 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.40: +21 -14 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Make it build in new world.
Don't attempt to update in-kernel quota, but instead warn if quotas
are already on. The rc.d script runs quotacheck before quotaon
so this shouldn't be a problem.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Oct 9 14:56:35 2008 UTC (15 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

PR/39719: Edgar Fu: block/inode typo in quotacheck(8)

Revision 1.38.12.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:30:13 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Jul 21 13:36:59 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Thu Apr 12 19:17:44 2007 UTC (16 years, 10 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.37: +14 -14 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Pull up following revision(s) (requested by jdc in ticket #562):
	usr.sbin/quotacheck/quotacheck.c: revision 1.38
From Edgar: fix ino computation; allocate space for the superblock after
we know how big it is.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Feb 15 19:00:11 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa
Changes since 1.37: +14 -14 lines
Diff to previous 1.37 (colored)

From Edgar: fix ino computation; allocate space for the superblock after
we know how big it is.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 19 02:09:50 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: netbsd-4
Changes since 1.36: +6 -4 lines
Diff to previous 1.36 (colored)

64 bit inode changes

Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 12 05:57:03 2004 UTC (19 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.35: +98 -44 lines
Diff to previous 1.35 (colored)

PR/23971: Greg A. Woods: Fix quotacheck infinite loop with uid == UINT32_MAX.
While I am there, pass WARNS=3

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 27 13:11:47 2004 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

fffv2 might not have FS_FLAGS_UPDATED set

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 21 22:14:09 2004 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.33: +23 -13 lines
Diff to previous 1.33 (colored)

When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 5 23:23:38 2004 UTC (20 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 5 18:46:33 2004 UTC (20 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Add -l to usage.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 5 17:43:25 2004 UTC (20 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

don't allow -l without -a

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 5 17:26:57 2004 UTC (20 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Add -q to usage.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 5 00:17:07 2004 UTC (20 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.28: +121 -16 lines
Diff to previous 1.28 (colored)

PR/23971: Robert Elz: Quotacheck fails when max uid is present and takes
forever if there are large gaps in the uid space. It also does not work
properly with the fsck preen code it uses.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 7 11:25:39 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.27: +3 -7 lines
Diff to previous 1.27 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 13 12:22:10 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

use bounded string op

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 17 09:21:01 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

Skip over inodes <= ROOTINO for getnextinode(). PR 21208 by Geoff Wing.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:50 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +132 -53 lines
Diff to previous 1.24 (colored)

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sun Jan 26 09:06:12 2003 UTC (21 years, 1 month ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.22: +19 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up versions 1.22-1.23 (requested by bouyer in ticket #1070)
 Add SIGINFO support.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:33 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 10 22:42:00 2002 UTC (21 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.22: +19 -2 lines
Diff to previous 1.22 (colored)

Add SIGINFO support.

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Sun Nov 25 19:29:23 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Pull up revision 1.22 (requested by lukem):
  Call ffs_sb_swap() with the correct arguments.  Fixes problems
  with using other-endian file systems.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 17 02:18:49 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right.  invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.

this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B"  to swap a file system endianness).

whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.

FFS_EI should now be a lot more stable.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Feb 19 23:22:46 2001 UTC (23 years ago) by cgd
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

convert to use getprogname()

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 30 23:56:26 1999 UTC (24 years, 11 months ago) by abs
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Changes since 1.19: +17 -2 lines
Diff to previous 1.19 (colored)

If -a, we do not want to pay the cost of processing every group and password
entry if there are no filesystems with quotas. Speeds up boot on a large YP
site without quotas considerably. If a filesystem has quotas we process
/etc/fstab twice, which is very cheap in relative terms.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Aug 27 20:31:01 1998 UTC (25 years, 6 months ago) by ross
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

{} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 27 00:52:02 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +8 -7 lines
Diff to previous 1.17 (colored)

const poisoning.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 18 17:22:38 1998 UTC (25 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.16: +14 -2 lines
Diff to previous 1.16 (colored)

Add support for non-native byteorder FFS.
The quota file is still in host byteorder. quotacheck needs to be re-run
when a FS has been moved to an architecture to another. Running quota
on a non-native byteorder ffs is considered a marginal case.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 19 21:22:38 1997 UTC (26 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Fix uninitialized variable

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 16 13:08:00 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.14: +9 -8 lines
Diff to previous 1.14 (colored)

* resolve conflicts from lite-2 merge
* cleanup for WARNS=1

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 16 12:40:13 1997 UTC (26 years, 5 months ago) by lukem
Branch: CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +13 -40 lines
Diff to previous 1.1.1.1 (colored)

imported from lite-2

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 28 19:20:44 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.13: +25 -8 lines
Diff to previous 1.13 (colored)

Update for newer preen interface.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 27 23:25:35 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.12: +92 -89 lines
Diff to previous 1.12 (colored)

This broke when preen.c moved from fsck_ffs to fsck. Update and cleanup.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 30 22:34:25 1996 UTC (27 years, 11 months ago) by mark
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

Use an integer instead of a char for the getopt() return value in order
to work with compilers that use unsigned chars.
Compare the getopt() return value with -1 instead of EOF.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 28 05:25:56 1995 UTC (28 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

merge in changes from 1.1 release branch

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Nov 1 00:32:51 1995 UTC (28 years, 3 months ago) by jtc
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Complete change from ufs -> ffs; (From Tatoku Ogaito; PR #1679)

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 18 14:59:22 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.9: +7 -2 lines
Diff to previous 1.9 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 3 02:06:24 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

<sys/queue.h> is no longer needed.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 18 16:01:13 1994 UTC (29 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

compile against new headers

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 23 14:27:50 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Eliminate uses of some obsolete functions.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 16 19:22:31 1994 UTC (29 years, 6 months ago) by mycroft
Changes since 1.5: +10 -38 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

update from trunk

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 16 19:22:02 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +10 -38 lines
Diff to previous 1.5 (colored)

Fix an obvious bogon when checking multiple file systems, and use the libc
version of err(3).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 22:53:04 1994 UTC (29 years, 8 months ago) by mycroft
Branch: CSRG
CVS Tags: lite-1
Changes since 1.1: +119 -77 lines
Diff to previous 1.1 (colored)

Import 4.4-Lite version.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 8 19:32:34 1994 UTC (29 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +122 -81 lines
Diff to previous 1.4 (colored)

Update from 4.4-Lite, with local changes.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 26 06:53:36 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

pass a daddr_t rather than an off_t; forgot to commit last week.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:25:41 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add RCS identifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 7 05:16:15 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

fixe for uninitialized variables, from 386bsd patchkit patch #111

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 9 19:25:14 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN

ported from Net/2.  (patch 111)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>