CVS log for src/usr.sbin/quotacheck/quotacheck.c
Up to [cvs.NetBSD.org] / src / usr.sbin / quotacheck
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sat May 13 11:51:14 2023 UTC (18 months, 4 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 7 19:41:30 2023 UTC (23 months ago) by chs
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 17 06:40:41 2022 UTC (2 years ago) by chs
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +8 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 16 23:04:14 2015 UTC (9 years, 5 months ago) by christos
Branches: 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-4-RELEASE,
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-3-RELEASE,
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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
improve error messages (remove \n, use __func__, etc)
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:12 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.1: +6 -6
lines
Rebase to HEAD as of a few days ago.
Revision 1.44.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:43:09 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.44.4.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.4.2: +6 -6
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 07:28:37 2013 UTC (11 years, 5 months ago) by dholland
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 02:06:06 2013 UTC (11 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:48 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
resync with head
Revision 1.44.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:45 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.44.4.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.1: +4 -4
lines
sync with head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:20 2013 UTC (11 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8,
agc-symver-base,
agc-symver
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:52 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +12 -4
lines
sync with head
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Apr 7 05:07:32 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4
Branch point for: tls-maxphys
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +12 -4
lines
use getfsspecname()
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Mar 6 23:25:42 2011 UTC (13 years, 9 months ago) by christos
Branches: 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
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -17
lines
more code deduplication
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Mar 6 23:13:22 2011 UTC (13 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +40 -46
lines
more KNF
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Mar 6 23:07:23 2011 UTC (13 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +52 -113
lines
use merged out code.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:08:43 2011 UTC (13 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +21 -14
lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 9 09:51:17 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +21 -14
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 9 14:56:35 2008 UTC (16 years, 2 months ago) by christos
Branches: 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4
lines
PR/39719: Edgar Fu: block/inode typo in quotacheck(8)
Revision 1.38.12.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:30:13 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +4 -4
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jul 21 13:36:59 2008 UTC (16 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4
lines
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 19:17:44 2007 UTC (17 years, 8 months ago) by bouyer
Branches: 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
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +14 -14
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 15 19:00:11 2007 UTC (17 years, 9 months ago) by christos
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +14 -14
lines
From Edgar: fix ino computation; allocate space for the superblock after
we know how big it is.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:09:50 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
CVS tags: netbsd-4-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: netbsd-4
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -4
lines
64 bit inode changes
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 12 05:57:03 2004 UTC (20 years ago) by christos
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +98 -44
lines
PR/23971: Greg A. Woods: Fix quotacheck infinite loop with uid == UINT32_MAX.
While I am there, pass WARNS=3
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Mar 27 13:11:47 2004 UTC (20 years, 8 months ago) by dsl
Branches: 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
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3
lines
fffv2 might not have FS_FLAGS_UPDATED set
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 21 22:14:09 2004 UTC (20 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +23 -13
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 5 23:23:38 2004 UTC (20 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 5 18:46:33 2004 UTC (20 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3
lines
Add -l to usage.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jan 5 17:43:25 2004 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3
lines
don't allow -l without -a
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Jan 5 17:26:57 2004 UTC (20 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Add -q to usage.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jan 5 00:17:07 2004 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +121 -16
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 7 11:25:39 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -7
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 13 12:22:10 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -5
lines
use bounded string op
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Apr 17 09:21:01 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -2
lines
Skip over inodes <= ROOTINO for getnextinode(). PR 21208 by Geoff Wing.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:39:50 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +132 -53
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 26 09:06:12 2003 UTC (21 years, 10 months ago) by jmc
Branches: 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
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +19 -2
lines
Pull up versions 1.22-1.23 (requested by bouyer in ticket #1070)
Add SIGINFO support.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:33 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 10 22:42:00 2002 UTC (22 years ago) by bouyer
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +19 -2
lines
Add SIGINFO support.
Revision 1.20.10.1: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:29:23 2001 UTC (23 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 17 02:18:49 2001 UTC (23 years, 4 months ago) by lukem
Branches: 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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 19 23:22:46 2001 UTC (23 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5
lines
convert to use getprogname()
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Mar 30 23:56:26 1999 UTC (25 years, 8 months ago) by abs
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +17 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 27 20:31:01 1998 UTC (26 years, 3 months ago) by ross
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3
lines
{} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jul 27 00:52:02 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +8 -7
lines
const poisoning.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:22:38 1998 UTC (26 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +14 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 19 21:22:38 1997 UTC (27 years, 2 months ago) by christos
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
Fix uninitialized variable
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Sep 16 13:08:00 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -8
lines
* resolve conflicts from lite-2 merge
* cleanup for WARNS=1
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Sep 16 12:40:13 1997 UTC (27 years, 3 months ago) by lukem
Branches: CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +13 -40
lines
imported from lite-2
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 28 19:20:44 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +25 -8
lines
Update for newer preen interface.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Sep 27 23:25:35 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +92 -89
lines
This broke when preen.c moved from fsck_ffs to fsck. Update and cleanup.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Mar 30 22:34:25 1996 UTC (28 years, 8 months ago) by mark
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 28 05:25:56 1995 UTC (29 years ago) by jtc
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
merge in changes from 1.1 release branch
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 1 00:32:51 1995 UTC (29 years, 1 month ago) by jtc
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -3
lines
Complete change from ufs -> ffs; (From Tatoku Ogaito; PR #1679)
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Mar 18 14:59:22 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -2
lines
convert to new RCS Id conventions; reduce my headache
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jan 3 02:06:24 1995 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -2
lines
<sys/queue.h> is no longer needed.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 18 16:01:13 1994 UTC (30 years ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
compile against new headers
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Sep 23 14:27:50 1994 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Eliminate uses of some obsolete functions.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 16 19:22:31 1994 UTC (30 years, 4 months ago) by mycroft
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +10 -38
lines
update from trunk
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 16 19:22:02 1994 UTC (30 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -38
lines
Fix an obvious bogon when checking multiple file systems, and use the libc
version of err(3).
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 13 22:53:04 1994 UTC (30 years, 6 months ago) by mycroft
Branches: CSRG
CVS tags: lite-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +119 -77
lines
Import 4.4-Lite version.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 8 19:32:34 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +122 -81
lines
Update from 4.4-Lite, with local changes.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 26 06:53:36 1994 UTC (30 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
pass a daddr_t rather than an off_t; forgot to commit last week.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:25:41 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
Add RCS identifiers.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 7 05:16:15 1993 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2
lines
fixe for uninitialized variables, from 386bsd patchkit patch #111
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 9 19:25:14 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
ported from Net/2. (patch 111)
CVSweb <webmaster@jp.NetBSD.org>