#
1.53 |
|
24-Jan-2023 |
mlelstv |
Use opendisk when looking for filesystem type, otherwise the detection only works if the correct device path is given as an argument.
|
Revision tags: netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 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 pgoyette-compat-base 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 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.52 |
|
25-Oct-2014 |
mlelstv |
fix logic that handles command line arguments. Now you can:
fsck /mnt/point fsck dkX fsck rdkX fsck /dev/dkX fsck /dev/rdkX fsck NAME=wedge
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.51 |
|
07-Apr-2012 |
christos |
branches: 1.51.10; use getfsspecname()
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE 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 netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.50 |
|
27-Aug-2011 |
joerg |
branches: 1.50.2; Use __dead and __printflike.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.49 |
|
24-Feb-2010 |
hannken |
Dont pass option -x down to fsck_xxxfs.
Hi christos ...
|
#
1.48 |
|
17-Feb-2010 |
christos |
Add -x <mountpoint> ``exclude'' option.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-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 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 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 mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
|
#
1.47 |
|
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.46 |
|
17-Jul-2007 |
christos |
branches: 1.46.4; 1.46.10; 1.46.12; kill MFSNAMELEN
|
#
1.45 |
|
13-Dec-2006 |
christos |
Sprinkle volatile, instead of using the (void)&foo; which does not work on gcc 4.
|
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 netbsd-4-base
|
#
1.44 |
|
16-Oct-2006 |
christos |
- add volatile - static before const
|
#
1.43 |
|
26-Aug-2006 |
christos |
Programs that use efun.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.42 |
|
20-Mar-2006 |
christos |
Coverity CID 1745: Fix memory leak.
|
#
1.41 |
|
27-Jun-2005 |
christos |
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining programs that did not compile before.
|
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.40 |
|
19-Jan-2005 |
xtraeme |
Add 'P' (progress meter flag) to getopt()'s optstring, remove main() prototype.
|
#
1.39 |
|
19-Jan-2005 |
wiz |
Sync usage with reality.
|
#
1.38 |
|
13-Jan-2005 |
christos |
When we run with 'fsck -f -n' we should go over all the filesystems, not exit on the first one that fails. Add a new flag CHECK_NOFIX so that we specify -n, we keep going.
|
#
1.37 |
|
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.36 |
|
25-Sep-2004 |
thorpej |
Try the DIOCGWEDGEINFO ioctl first. If that succeeds (i.e. the block device is a wedge), use the partition type string from the dkwedge_info structure to get the file system type.
|
#
1.35 |
|
19-Aug-2004 |
christos |
Deal with RESCUEDIR
|
#
1.34 |
|
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.33 |
|
20-Mar-2004 |
christos |
Remove my license.
|
#
1.32 |
|
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.31 |
|
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.30 |
|
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.
|
Revision tags: fvdl_fs64_base
|
#
1.29 |
|
23-Aug-2002 |
lukem |
if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN
|
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 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.28 |
|
20-Dec-2001 |
soren |
Sync getopt() / man page with actual getopt options.
|
#
1.27 |
|
01-Nov-2001 |
lukem |
fix a couple of -Wshadow warnings
|
#
1.26 |
|
18-Jun-2001 |
lukem |
- Don't attempt to fsck a file system that is mounted read-write unless -f (force) is given. fsck(8) will return with a zero exit status if "fsck -p" is used in this circumstance, but all other invocations (e.g, "fsck", "fsck /filesystem", "fsck -p /filesystem") will return with a non-zero exit status in this circumstance. Per discussions with various people including Bill Sommerfeld. - Use "file system" instead of "filesystem"
|
#
1.25 |
|
18-Jun-2001 |
lukem |
ansi knf
|
#
1.24 |
|
18-Jun-2001 |
lukem |
use TAILQ_xxx instead of referencing tqh_xxx elements directly
|
#
1.23 |
|
19-Feb-2001 |
cgd |
convert to use getprogname()
|
#
1.22 |
|
04-Feb-2001 |
christos |
remove redundant declarations and nested externs.
|
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 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.21 |
|
22-Apr-1999 |
abs |
Copy code across from newfs so that 'fsck sd0a' and similar will work.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.20 |
|
12-Nov-1998 |
christos |
Adjust for DKTYPENAME changes.
|
#
1.19 |
|
25-Aug-1998 |
ross |
from Erik Bertelsen <erik@mediator.uni-c.dk> { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
|
#
1.18 |
|
26-Jul-1998 |
mycroft |
const poisoning.
|
#
1.17 |
|
26-Jul-1998 |
mycroft |
const poisoning.
|
#
1.16 |
|
31-Oct-1997 |
mycroft |
Rewrite catopt(), as in mount(8).
|
#
1.15 |
|
31-Oct-1997 |
mycroft |
Format police.
|
#
1.14 |
|
29-Oct-1997 |
christos |
PR/4384: Brian Grayson: Use real name for exec'ed child's argv[0]
|
Revision tags: netbsd-1-3-base
|
#
1.13 |
|
13-Oct-1997 |
bouyer |
branches: 1.13.2; The number of fs types is FSMAXTYPES not DKMAXTYPES.
|
#
1.12 |
|
14-Sep-1997 |
lukem |
* cleanup for WARNS=1 * deprecate register * prefix hex numbers with '0x'
|
#
1.11 |
|
23-Jun-1997 |
mikel |
eliminate excess errx() argument
|
#
1.10 |
|
20-Jun-1997 |
christos |
Move fscknames to <sys/disklabel.h> where they belong logically.
|
#
1.9 |
|
07-Dec-1996 |
christos |
PR/3002: bug in my previous commit.
|
#
1.8 |
|
05-Dec-1996 |
christos |
PR/2975: fsck lies to children about their program name PR/2979: fsck is not smart enough about filesystems not in /etc/fstab
|
#
1.7 |
|
03-Oct-1996 |
christos |
- Null terminate the argv vector [from ws] - Dynamically allocate the argv vector - Add -f global flag [from ws]
|
#
1.6 |
|
28-Sep-1996 |
christos |
Fix typo.
|
#
1.5 |
|
28-Sep-1996 |
christos |
Allow for an extra argument needed by quotacheck.
|
#
1.4 |
|
27-Sep-1996 |
christos |
- Rename util.c and util.h to fsutil.c and fsutil.h to avoid conflict with <util.h> - Change checkfstab so that the checkit function takes the name of the mount point too (needed by quotacheck). - Remove globals debug, verbose and preen
|
#
1.3 |
|
27-Sep-1996 |
cgd |
fix up a debugging printf (was given its args in the wrong order), and allow "ufs" in /etc/fstab to indicate MOUNT_UFS == MOUNT_FFS (for backward compatibility).
|
#
1.2 |
|
23-Sep-1996 |
christos |
- added -T fstype:fsoptions per cgd's suggestion. - handle parallelism in preening here using the original preening code from fsck_ffs. - move common code from fsck_ffs and fsck_msdos here.
|
#
1.1 |
|
11-Sep-1996 |
christos |
New version of filesystem independent fsck(8) program similar to mount(8).
|