#
1.41 |
|
05-Apr-2020 |
joerg |
Fix depenency on common symbols in sbin.
|
Revision tags: phil-wifi-20191119
|
#
1.40 |
|
15-Aug-2019 |
kamil |
fsck: Stop defining the same variable concurrently in bss and data
returntosingle was defined in multiple places:
- fsck_lfs/main.c - fsck_ffs/main.c - fsck_ext2fs/main.c - fsck/fsutil.c
Keep the fsutil.c definition as the only one.
Detected during the build of telned with Address Sanitizer (MKSANITIZER).
|
Revision tags: netbsd-9-base phil-wifi-20190609
|
#
1.39 |
|
03-Feb-2019 |
mrg |
branches: 1.39.2; - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.38 |
|
27-Aug-2018 |
sevan |
Remove references to -c flag which was never included.
|
Revision tags: netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.37 |
|
09-Jun-2011 |
christos |
branches: 1.37.34; 1.37.40; 1.37.42; share more code.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.36 |
|
07-Jan-2010 |
christos |
branches: 1.36.4; make this compile again.
|
#
1.35 |
|
06-Jan-2010 |
christos |
PR/42568: Pedro F. Giffuni: Better signal handling from OpenBSD, but simplified.
|
Revision tags: matt-premerge-20091211
|
#
1.34 |
|
19-Oct-2009 |
bouyer |
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
#
1.33 |
|
16-Aug-2009 |
tron |
Ignore the "-P" option as intended to make this work with e.g. "fsck_flags=-pP" in "/etc/rc.conf".
Patch supplied by Pierre Pronchery in PR bin/41490.
|
Revision tags: matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base
|
#
1.32 |
|
12-Oct-2008 |
wiz |
branches: 1.32.2; 1.32.6; 1.32.8; Don't use unicode in usage. Noted by Anon Ymous.
|
#
1.31 |
|
09-Oct-2008 |
wiz |
Sync usage with man page.
|
#
1.30 |
|
09-Oct-2008 |
christos |
Disable userid to username lookups by default. Add a -U flag to perform them. In single user mode lookups that involve the network might not work and they slow down fsck.
|
Revision tags: wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.29 |
|
20-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase
|
#
1.28 |
|
16-Mar-2008 |
lukem |
branches: 1.28.4; errexit() now provides the trailing \n (since fsck_ffs assumed that from a conversion from err(3)), so "make it so".
|
Revision tags: hpcarm-cleanup-base
|
#
1.27 |
|
23-Feb-2008 |
christos |
Make sure that the exit values are always sane, and use symbolic instead of magic constants. Reviewed by go@
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base mjf-devfs-base matt-armv6-base matt-mips64-base
|
#
1.26 |
|
16-Jul-2007 |
pooka |
branches: 1.26.4; 1.26.10; 1.26.12; Make all mount(2) return value error checks against -1. Some file systems just checked != 0, breaking MNT_GETARGS. Others worked with < 0, but make them check against -1 too for consistency. And sprinkle some stylish line wrapping where appropriate.
|
#
1.25 |
|
14-Jul-2007 |
dsl |
Add additional 'sizeof args' parameter to mount(2).
|
#
1.24 |
|
08-Feb-2007 |
drochner |
include <signal.h> where signal(3) is used
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.23 |
|
23-Sep-2005 |
jmmv |
branches: 1.23.4; Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code. - Drop the vfs_checkexp hook and generalize it in the new nfs_check_export function, thus removing redundancy from all file systems. - Move all NFS export-related stuff from kern/vfs_subr.c to the new file sys/nfs/nfs_export.c. The former was becoming large and its code is always compiled, regardless of the build options. Using the latter, the code is only compiled in when NFSSERVER is enabled. While doing this, also make some functions in nfs_subs.c conditional to NFSSERVER. - Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a path and a set of export entries. At the moment it can only clear the exports list or append entries, one by one, but it is done in a way that allows setting the whole set of entries atomically in the future (see the comment in mountd_set_exports_list or in doc/TODO). - Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so that it becomes file system agnostic. In fact, all this whole thing was done to remove a 'XXX' block from this utility! - Change the mount*, newfs and fsck* userland utilities to not deal with NFS exports initialization; done internally by the kernel when initializing the NFS support for each file system. - Implement an interface for VFS (called VFS hooks) so that several kernel subsystems can run arbitrary code upon receipt of specific VFS events. At the moment, this only provides support for unmount and is used to destroy NFS exports lists from the file systems being unmounted, though it has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments and advice in the development of this patch.
|
#
1.22 |
|
19-Aug-2005 |
christos |
64 bit inode changes
|
#
1.21 |
|
26-Jun-2005 |
christos |
constify.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.20 |
|
19-Jan-2005 |
xtraeme |
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
|
#
1.19 |
|
13-Jan-2005 |
christos |
Add a progress meter to fsck_ffs based on the work by thorpej presented to the mailing lists last January. This is optional.
|
#
1.18 |
|
13-May-2004 |
wiz |
Remove option letter from getopt string, since it does not have a case handler below. From aaron@openbsd.
|
#
1.17 |
|
21-Apr-2004 |
christos |
Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.16 |
|
22-Mar-2004 |
bouyer |
Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
#
1.15 |
|
05-Jan-2004 |
jmmv |
Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
#
1.14 |
|
20-Oct-2003 |
dsl |
Add a -q (quiet) option to print nothing for clean filesystems. Support in fsck_ffs and stub in fsck_xxx. Push a few more messages through pwarn() instead of printf() to ensure disk name is shown.
|
#
1.13 |
|
05-Oct-2003 |
bouyer |
Remove references to University of California from my copyright notices.
|
#
1.12 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
#
1.11 |
|
24-Jan-2003 |
fvdl |
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 tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.10 |
|
19-Feb-2001 |
cgd |
convert to use getprogname()
|
#
1.9 |
|
04-Feb-2001 |
christos |
fix nested extern and duplicate declarations
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.8 |
|
28-Jan-2000 |
bouyer |
Correct bogons in filetype option support, and add support for the sparse_super option.
|
#
1.7 |
|
26-Jan-2000 |
bouyer |
First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
26-Jul-1998 |
mycroft |
const poisoning.
|
#
1.5 |
|
01-Apr-1998 |
kleink |
Need <time.h> for time() prototype.
|
#
1.4 |
|
01-Mar-1998 |
fvdl |
Merge with Lite2 + local changes
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.3 |
|
01-Oct-1997 |
enami |
Don't declare optind and optarg.
|
#
1.2 |
|
14-Sep-1997 |
lukem |
* cleanup for WARNS=1 * deprecate register * cleanup manpage * remove unused docheck() * getopt returns -1 not EOF * put a ) in the correct place in a printf, so that the argument gets & 0xff, not the result of printf() itself...
|
#
1.1 |
|
11-Jun-1997 |
bouyer |
Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
|
#
1.40 |
|
15-Aug-2019 |
kamil |
fsck: Stop defining the same variable concurrently in bss and data
returntosingle was defined in multiple places:
- fsck_lfs/main.c - fsck_ffs/main.c - fsck_ext2fs/main.c - fsck/fsutil.c
Keep the fsutil.c definition as the only one.
Detected during the build of telned with Address Sanitizer (MKSANITIZER).
|
Revision tags: netbsd-9-base phil-wifi-20190609
|
#
1.39 |
|
03-Feb-2019 |
mrg |
- add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.38 |
|
27-Aug-2018 |
sevan |
Remove references to -c flag which was never included.
|
Revision tags: netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.37 |
|
09-Jun-2011 |
christos |
branches: 1.37.34; 1.37.40; 1.37.42; share more code.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.36 |
|
07-Jan-2010 |
christos |
branches: 1.36.4; make this compile again.
|
#
1.35 |
|
06-Jan-2010 |
christos |
PR/42568: Pedro F. Giffuni: Better signal handling from OpenBSD, but simplified.
|
Revision tags: matt-premerge-20091211
|
#
1.34 |
|
19-Oct-2009 |
bouyer |
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
#
1.33 |
|
16-Aug-2009 |
tron |
Ignore the "-P" option as intended to make this work with e.g. "fsck_flags=-pP" in "/etc/rc.conf".
Patch supplied by Pierre Pronchery in PR bin/41490.
|
Revision tags: matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base
|
#
1.32 |
|
12-Oct-2008 |
wiz |
branches: 1.32.2; 1.32.6; 1.32.8; Don't use unicode in usage. Noted by Anon Ymous.
|
#
1.31 |
|
09-Oct-2008 |
wiz |
Sync usage with man page.
|
#
1.30 |
|
09-Oct-2008 |
christos |
Disable userid to username lookups by default. Add a -U flag to perform them. In single user mode lookups that involve the network might not work and they slow down fsck.
|
Revision tags: wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.29 |
|
20-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase
|
#
1.28 |
|
16-Mar-2008 |
lukem |
branches: 1.28.4; errexit() now provides the trailing \n (since fsck_ffs assumed that from a conversion from err(3)), so "make it so".
|
Revision tags: hpcarm-cleanup-base
|
#
1.27 |
|
23-Feb-2008 |
christos |
Make sure that the exit values are always sane, and use symbolic instead of magic constants. Reviewed by go@
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base mjf-devfs-base matt-armv6-base matt-mips64-base
|
#
1.26 |
|
16-Jul-2007 |
pooka |
branches: 1.26.4; 1.26.10; 1.26.12; Make all mount(2) return value error checks against -1. Some file systems just checked != 0, breaking MNT_GETARGS. Others worked with < 0, but make them check against -1 too for consistency. And sprinkle some stylish line wrapping where appropriate.
|
#
1.25 |
|
14-Jul-2007 |
dsl |
Add additional 'sizeof args' parameter to mount(2).
|
#
1.24 |
|
08-Feb-2007 |
drochner |
include <signal.h> where signal(3) is used
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.23 |
|
23-Sep-2005 |
jmmv |
branches: 1.23.4; Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code. - Drop the vfs_checkexp hook and generalize it in the new nfs_check_export function, thus removing redundancy from all file systems. - Move all NFS export-related stuff from kern/vfs_subr.c to the new file sys/nfs/nfs_export.c. The former was becoming large and its code is always compiled, regardless of the build options. Using the latter, the code is only compiled in when NFSSERVER is enabled. While doing this, also make some functions in nfs_subs.c conditional to NFSSERVER. - Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a path and a set of export entries. At the moment it can only clear the exports list or append entries, one by one, but it is done in a way that allows setting the whole set of entries atomically in the future (see the comment in mountd_set_exports_list or in doc/TODO). - Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so that it becomes file system agnostic. In fact, all this whole thing was done to remove a 'XXX' block from this utility! - Change the mount*, newfs and fsck* userland utilities to not deal with NFS exports initialization; done internally by the kernel when initializing the NFS support for each file system. - Implement an interface for VFS (called VFS hooks) so that several kernel subsystems can run arbitrary code upon receipt of specific VFS events. At the moment, this only provides support for unmount and is used to destroy NFS exports lists from the file systems being unmounted, though it has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments and advice in the development of this patch.
|
#
1.22 |
|
19-Aug-2005 |
christos |
64 bit inode changes
|
#
1.21 |
|
26-Jun-2005 |
christos |
constify.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.20 |
|
19-Jan-2005 |
xtraeme |
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
|
#
1.19 |
|
13-Jan-2005 |
christos |
Add a progress meter to fsck_ffs based on the work by thorpej presented to the mailing lists last January. This is optional.
|
#
1.18 |
|
13-May-2004 |
wiz |
Remove option letter from getopt string, since it does not have a case handler below. From aaron@openbsd.
|
#
1.17 |
|
21-Apr-2004 |
christos |
Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.16 |
|
22-Mar-2004 |
bouyer |
Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
#
1.15 |
|
05-Jan-2004 |
jmmv |
Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
#
1.14 |
|
20-Oct-2003 |
dsl |
Add a -q (quiet) option to print nothing for clean filesystems. Support in fsck_ffs and stub in fsck_xxx. Push a few more messages through pwarn() instead of printf() to ensure disk name is shown.
|
#
1.13 |
|
05-Oct-2003 |
bouyer |
Remove references to University of California from my copyright notices.
|
#
1.12 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
#
1.11 |
|
24-Jan-2003 |
fvdl |
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 tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.10 |
|
19-Feb-2001 |
cgd |
convert to use getprogname()
|
#
1.9 |
|
04-Feb-2001 |
christos |
fix nested extern and duplicate declarations
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.8 |
|
28-Jan-2000 |
bouyer |
Correct bogons in filetype option support, and add support for the sparse_super option.
|
#
1.7 |
|
26-Jan-2000 |
bouyer |
First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
26-Jul-1998 |
mycroft |
const poisoning.
|
#
1.5 |
|
01-Apr-1998 |
kleink |
Need <time.h> for time() prototype.
|
#
1.4 |
|
01-Mar-1998 |
fvdl |
Merge with Lite2 + local changes
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.3 |
|
01-Oct-1997 |
enami |
Don't declare optind and optarg.
|
#
1.2 |
|
14-Sep-1997 |
lukem |
* cleanup for WARNS=1 * deprecate register * cleanup manpage * remove unused docheck() * getopt returns -1 not EOF * put a ) in the correct place in a printf, so that the argument gets & 0xff, not the result of printf() itself...
|
#
1.1 |
|
11-Jun-1997 |
bouyer |
Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
|
#
1.39 |
|
03-Feb-2019 |
mrg |
- add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
#
1.38 |
|
27-Aug-2018 |
sevan |
Remove references to -c flag which was never included.
|
Revision tags: netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.37 |
|
09-Jun-2011 |
christos |
branches: 1.37.34; 1.37.40; share more code.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.36 |
|
07-Jan-2010 |
christos |
branches: 1.36.4; make this compile again.
|
#
1.35 |
|
06-Jan-2010 |
christos |
PR/42568: Pedro F. Giffuni: Better signal handling from OpenBSD, but simplified.
|
Revision tags: matt-premerge-20091211
|
#
1.34 |
|
19-Oct-2009 |
bouyer |
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
#
1.33 |
|
16-Aug-2009 |
tron |
Ignore the "-P" option as intended to make this work with e.g. "fsck_flags=-pP" in "/etc/rc.conf".
Patch supplied by Pierre Pronchery in PR bin/41490.
|
Revision tags: matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base
|
#
1.32 |
|
12-Oct-2008 |
wiz |
branches: 1.32.2; 1.32.6; 1.32.8; Don't use unicode in usage. Noted by Anon Ymous.
|
#
1.31 |
|
09-Oct-2008 |
wiz |
Sync usage with man page.
|
#
1.30 |
|
09-Oct-2008 |
christos |
Disable userid to username lookups by default. Add a -U flag to perform them. In single user mode lookups that involve the network might not work and they slow down fsck.
|
Revision tags: wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.29 |
|
20-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase
|
#
1.28 |
|
16-Mar-2008 |
lukem |
branches: 1.28.4; errexit() now provides the trailing \n (since fsck_ffs assumed that from a conversion from err(3)), so "make it so".
|
Revision tags: hpcarm-cleanup-base
|
#
1.27 |
|
23-Feb-2008 |
christos |
Make sure that the exit values are always sane, and use symbolic instead of magic constants. Reviewed by go@
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base mjf-devfs-base matt-armv6-base matt-mips64-base
|
#
1.26 |
|
16-Jul-2007 |
pooka |
branches: 1.26.4; 1.26.10; 1.26.12; Make all mount(2) return value error checks against -1. Some file systems just checked != 0, breaking MNT_GETARGS. Others worked with < 0, but make them check against -1 too for consistency. And sprinkle some stylish line wrapping where appropriate.
|
#
1.25 |
|
14-Jul-2007 |
dsl |
Add additional 'sizeof args' parameter to mount(2).
|
#
1.24 |
|
08-Feb-2007 |
drochner |
include <signal.h> where signal(3) is used
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.23 |
|
23-Sep-2005 |
jmmv |
branches: 1.23.4; Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code. - Drop the vfs_checkexp hook and generalize it in the new nfs_check_export function, thus removing redundancy from all file systems. - Move all NFS export-related stuff from kern/vfs_subr.c to the new file sys/nfs/nfs_export.c. The former was becoming large and its code is always compiled, regardless of the build options. Using the latter, the code is only compiled in when NFSSERVER is enabled. While doing this, also make some functions in nfs_subs.c conditional to NFSSERVER. - Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a path and a set of export entries. At the moment it can only clear the exports list or append entries, one by one, but it is done in a way that allows setting the whole set of entries atomically in the future (see the comment in mountd_set_exports_list or in doc/TODO). - Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so that it becomes file system agnostic. In fact, all this whole thing was done to remove a 'XXX' block from this utility! - Change the mount*, newfs and fsck* userland utilities to not deal with NFS exports initialization; done internally by the kernel when initializing the NFS support for each file system. - Implement an interface for VFS (called VFS hooks) so that several kernel subsystems can run arbitrary code upon receipt of specific VFS events. At the moment, this only provides support for unmount and is used to destroy NFS exports lists from the file systems being unmounted, though it has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments and advice in the development of this patch.
|
#
1.22 |
|
19-Aug-2005 |
christos |
64 bit inode changes
|
#
1.21 |
|
26-Jun-2005 |
christos |
constify.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.20 |
|
19-Jan-2005 |
xtraeme |
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
|
#
1.19 |
|
13-Jan-2005 |
christos |
Add a progress meter to fsck_ffs based on the work by thorpej presented to the mailing lists last January. This is optional.
|
#
1.18 |
|
13-May-2004 |
wiz |
Remove option letter from getopt string, since it does not have a case handler below. From aaron@openbsd.
|
#
1.17 |
|
21-Apr-2004 |
christos |
Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
1.16 |
|
22-Mar-2004 |
bouyer |
Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
#
1.15 |
|
05-Jan-2004 |
jmmv |
Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
#
1.14 |
|
20-Oct-2003 |
dsl |
Add a -q (quiet) option to print nothing for clean filesystems. Support in fsck_ffs and stub in fsck_xxx. Push a few more messages through pwarn() instead of printf() to ensure disk name is shown.
|
#
1.13 |
|
05-Oct-2003 |
bouyer |
Remove references to University of California from my copyright notices.
|
#
1.12 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
#
1.11 |
|
24-Jan-2003 |
fvdl |
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 tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.10 |
|
19-Feb-2001 |
cgd |
convert to use getprogname()
|
#
1.9 |
|
04-Feb-2001 |
christos |
fix nested extern and duplicate declarations
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.8 |
|
28-Jan-2000 |
bouyer |
Correct bogons in filetype option support, and add support for the sparse_super option.
|
#
1.7 |
|
26-Jan-2000 |
bouyer |
First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
26-Jul-1998 |
mycroft |
const poisoning.
|
#
1.5 |
|
01-Apr-1998 |
kleink |
Need <time.h> for time() prototype.
|
#
1.4 |
|
01-Mar-1998 |
fvdl |
Merge with Lite2 + local changes
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.3 |
|
01-Oct-1997 |
enami |
Don't declare optind and optarg.
|
#
1.2 |
|
14-Sep-1997 |
lukem |
* cleanup for WARNS=1 * deprecate register * cleanup manpage * remove unused docheck() * getopt returns -1 not EOF * put a ) in the correct place in a printf, so that the argument gets & 0xff, not the result of printf() itself...
|
#
1.1 |
|
11-Jun-1997 |
bouyer |
Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
|