Up to [cvs.NetBSD.org] / src / usr.sbin / quotacheck
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.46 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:20 2013 UTC (3 months, 4 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
tls-maxphys-nbase,
tls-maxphys-base,
agc-symver-base,
agc-symver,
HEAD
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.45 / (download) - annotate - [select for diffs], Sat Apr 7 05:07:32 2012 UTC (13 months, 2 weeks 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 (2 years, 2 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,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
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 (2 years, 2 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 (2 years, 2 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 (2 years, 2 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 / (download) - annotate - [select for diffs], Thu Oct 9 14:56:35 2008 UTC (4 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
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-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.39 / (download) - annotate - [select for diffs], Mon Jul 21 13:36:59 2008 UTC (4 years, 10 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.38 / (download) - annotate - [select for diffs], Thu Feb 15 19:00:11 2007 UTC (6 years, 3 months 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 (7 years, 9 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 (8 years, 5 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 (9 years, 1 month 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 (9 years, 2 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 (9 years, 4 months 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 (9 years, 4 months 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 (9 years, 4 months 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 (9 years, 4 months 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 (9 years, 4 months 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 (9 years, 9 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 (9 years, 10 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 (10 years, 1 month 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 (10 years, 1 month 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.24 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:33 2003 UTC (10 years, 3 months 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 (10 years, 5 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.22 / (download) - annotate - [select for diffs], Fri Aug 17 02:18:49 2001 UTC (11 years, 9 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 (12 years, 3 months 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 (14 years, 1 month 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 (14 years, 8 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 (14 years, 9 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 (15 years, 2 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 (15 years, 8 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 (15 years, 8 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.14 / (download) - annotate - [select for diffs], Sat Sep 28 19:20:44 1996 UTC (16 years, 7 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 (16 years, 7 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 (17 years, 1 month 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 (17 years, 5 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 / (download) - annotate - [select for diffs], Sat Mar 18 14:59:22 1995 UTC (18 years, 2 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 (18 years, 4 months 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 (18 years, 5 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 (18 years, 8 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.6 / (download) - annotate - [select for diffs], Tue Aug 16 19:22:02 1994 UTC (18 years, 9 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.5 / (download) - annotate - [select for diffs], Wed Jun 8 19:32:34 1994 UTC (18 years, 11 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 (19 years 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 (19 years, 9 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 (20 years 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 (20 years, 1 month ago) by cgd
Branch: MAIN
ported from Net/2. (patch 111)