Up to [cvs.NetBSD.org] / src / sbin / fsck
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.51 / (download) - annotate - [select for diffs], Sat Apr 7 04:52:20 2012 UTC (13 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.50: +6 -3
lines
Diff to previous 1.50 (colored)
use getfsspecname()
Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 27 17:34:44 2011 UTC (20 months, 3 weeks ago) by joerg
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
Branch point for: yamt-pagecache
Changes since 1.49: +3 -3
lines
Diff to previous 1.49 (colored)
Use __dead and __printflike.
Revision 1.49 / (download) - annotate - [select for diffs], Wed Feb 24 13:56:07 2010 UTC (3 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored)
Dont pass option -x down to fsck_xxxfs. Hi christos ...
Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 17 23:30:21 2010 UTC (3 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.47: +28 -5
lines
Diff to previous 1.47 (colored)
Add -x <mountpoint> ``exclude'' option.
Revision 1.47 / (download) - annotate - [select for diffs], Sat Feb 23 21:41:47 2008 UTC (5 years, 2 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-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
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,
mjf-devfs2-base,
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-base2,
matt-armv6-nbase,
keiichi-mipv6-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Changes since 1.46: +22 -17
lines
Diff to previous 1.46 (colored)
Make sure that the exit values are always sane, and use symbolic instead of magic constants. Reviewed by go@
Revision 1.46 / (download) - annotate - [select for diffs], Tue Jul 17 20:12:40 2007 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: mjf-devfs2,
matt-armv6,
keiichi-mipv6
Changes since 1.45: +5 -5
lines
Diff to previous 1.45 (colored)
kill MFSNAMELEN
Revision 1.45 / (download) - annotate - [select for diffs], Wed Dec 13 16:08:26 2006 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.44: +11 -13
lines
Diff to previous 1.44 (colored)
Sprinkle volatile, instead of using the (void)&foo; which does not work on gcc 4.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Oct 16 02:44:46 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
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,
netbsd-4
Changes since 1.43: +6 -6
lines
Diff to previous 1.43 (colored)
- add volatile - static before const
Revision 1.43 / (download) - annotate - [select for diffs], Sat Aug 26 18:14:28 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.42: +3 -2
lines
Diff to previous 1.42 (colored)
Programs that use efun.
Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 20 01:27:44 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.41: +4 -2
lines
Diff to previous 1.41 (colored)
Coverity CID 1745: Fix memory leak.
Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 27 01:00:05 2005 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored)
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining programs that did not compile before.
Revision 1.40 / (download) - annotate - [select for diffs], Wed Jan 19 17:48:15 2005 UTC (8 years, 4 months ago) by xtraeme
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.39: +3 -5
lines
Diff to previous 1.39 (colored)
Add 'P' (progress meter flag) to getopt()'s optstring, remove main() prototype.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Jan 19 16:38:28 2005 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
Sync usage with reality.
Revision 1.38 / (download) - annotate - [select for diffs], Thu Jan 13 22:56:09 2005 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.37: +3 -2
lines
Diff to previous 1.37 (colored)
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.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Jan 13 15:22:35 2005 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.36: +17 -2
lines
Diff to previous 1.36 (colored)
Add a progress meter to fsck_ffs based on the work by thorpej presented to the mailing lists last January. This is optional.
Revision 1.36 / (download) - annotate - [select for diffs], Sat Sep 25 03:32:52 2004 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +11 -3
lines
Diff to previous 1.35 (colored)
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.
Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 19 22:28:38 2004 UTC (8 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.34: +4 -4
lines
Diff to previous 1.34 (colored)
Deal with RESCUEDIR
Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:33 2004 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.33: +5 -5
lines
Diff to previous 1.33 (colored)
Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
Revision 1.33 / (download) - annotate - [select for diffs], Sat Mar 20 20:28:44 2004 UTC (9 years, 2 months ago) by christos
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.32: +3 -38
lines
Diff to previous 1.32 (colored)
Remove my license.
Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 5 23:23:32 2004 UTC (9 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Oct 20 12:04:38 2003 UTC (9 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.30: +27 -18
lines
Diff to previous 1.30 (colored)
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.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:15 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.29: +34 -3
lines
Diff to previous 1.29 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22308, verified by myself.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 23 03:17:18 2002 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.28: +5 -2
lines
Diff to previous 1.28 (colored)
if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN
Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 20 20:10:36 2001 UTC (11 years, 5 months ago) by soren
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
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,
netbsd-1-6
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored)
Sync getopt() / man page with actual getopt options.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 1 07:31:22 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.26: +4 -4
lines
Diff to previous 1.26 (colored)
fix a couple of -Wshadow warnings
Revision 1.26 / (download) - annotate - [select for diffs], Mon Jun 18 06:28:59 2001 UTC (11 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.25: +29 -5
lines
Diff to previous 1.25 (colored)
- 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"
Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 18 02:31:09 2001 UTC (11 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.24: +28 -46
lines
Diff to previous 1.24 (colored)
ansi knf
Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 18 02:22:33 2001 UTC (11 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.23: +6 -6
lines
Diff to previous 1.23 (colored)
use TAILQ_xxx instead of referencing tqh_xxx elements directly
Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 19 22:56:19 2001 UTC (12 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.22: +3 -5
lines
Diff to previous 1.22 (colored)
convert to use getprogname()
Revision 1.22 / (download) - annotate - [select for diffs], Sun Feb 4 19:59:37 2001 UTC (12 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.21: +4 -3
lines
Diff to previous 1.21 (colored)
remove redundant declarations and nested externs.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 22 04:20:53 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-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.20: +16 -8
lines
Diff to previous 1.20 (colored)
Copy code across from newfs so that 'fsck sd0a' and similar will work.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 12 16:19:48 1998 UTC (14 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Changes since 1.19: +4 -3
lines
Diff to previous 1.19 (colored)
Adjust for DKTYPENAME changes.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 25 19:18:14 1998 UTC (14 years, 9 months ago) by ross
Branch: MAIN
Changes since 1.18: +8 -5
lines
Diff to previous 1.18 (colored)
from Erik Bertelsen <erik@mediator.uni-c.dk>
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 26 20:02:36 1998 UTC (14 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +3 -4
lines
Diff to previous 1.17 (colored)
const poisoning.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 26 12:03:09 1998 UTC (14 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +9 -7
lines
Diff to previous 1.16 (colored)
const poisoning.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 31 09:48:04 1997 UTC (15 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +24 -32
lines
Diff to previous 1.15 (colored)
Rewrite catopt(), as in mount(8).
Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 31 09:11:53 1997 UTC (15 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +28 -33
lines
Diff to previous 1.14 (colored)
Format police.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 29 18:36:47 1997 UTC (15 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.13: +5 -3
lines
Diff to previous 1.13 (colored)
PR/4384: Brian Grayson: Use real name for exec'ed child's argv[0]
Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 13 09:44:18 1997 UTC (15 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
The number of fs types is FSMAXTYPES not DKMAXTYPES.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 14 14:11:00 1997 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.11: +5 -2
lines
Diff to previous 1.11 (colored)
* cleanup for WARNS=1 * deprecate register * prefix hex numbers with '0x'
Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 23 01:03:35 1997 UTC (15 years, 11 months ago) by mikel
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
eliminate excess errx() argument
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 20 15:14:09 1997 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.9: +2 -26
lines
Diff to previous 1.9 (colored)
Move fscknames to <sys/disklabel.h> where they belong logically.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 7 19:09:11 1996 UTC (16 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.8: +3 -7
lines
Diff to previous 1.8 (colored)
PR/3002: bug in my previous commit.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 5 18:30:23 1996 UTC (16 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.7: +83 -14
lines
Diff to previous 1.7 (colored)
PR/2975: fsck lies to children about their program name PR/2979: fsck is not smart enough about filesystems not in /etc/fstab
Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 3 20:06:30 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.6: +38 -21
lines
Diff to previous 1.6 (colored)
- Null terminate the argv vector [from ws] - Dynamically allocate the argv vector - Add -f global flag [from ws]
Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 28 19:23:29 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored)
Fix typo.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 28 19:21:41 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.4: +7 -6
lines
Diff to previous 1.4 (colored)
Allow for an extra argument needed by quotacheck.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 27 22:38:40 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.3: +28 -35
lines
Diff to previous 1.3 (colored)
- 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
Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 27 21:51:03 1996 UTC (16 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.2: +7 -4
lines
Diff to previous 1.2 (colored)
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).
Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 23 16:11:34 1996 UTC (16 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.1: +130 -126
lines
Diff to previous 1.1 (colored)
- 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.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 11 20:27:14 1996 UTC (16 years, 8 months ago) by christos
Branch: MAIN
New version of filesystem independent fsck(8) program similar to mount(8).