The NetBSD Project

CVS log for src/sbin/fsck/preen.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / fsck

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 7 04:52:20 2012 UTC (14 months, 1 week 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.30: +11 -5 lines
Diff to previous 1.30 (colored)

use getfsspecname()

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 23 21:41:47 2008 UTC (5 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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, matt-armv6-nbase, keiichi-mipv6-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.29: +19 -18 lines
Diff to previous 1.29 (colored)

Make sure that the exit values are always sane, and use symbolic instead
of magic constants. Reviewed by go@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 26 21:54:05 2006 UTC (6 years, 9 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, 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.28: +20 -8 lines
Diff to previous 1.28 (colored)

- make preen recognize wedges and insert their parent disks in the disk list
  so that we don't run multiple fsck's on the same spindle at the same time!
- Add some partition getting utilities that are wedge aware (soon to be able
  to use the native geometry ioctl), so that we can fsck wedges.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Aug 26 18:14:28 2006 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Programs that use efun.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 13 22:56:09 2005 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.26: +29 -10 lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Thu Oct 28 19:59:09 2004 UTC (8 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Add (unsigned char) to isdigit() call

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:16 2003 UTC (9 years, 10 months ago) by agc
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.24: +3 -7 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Sat Jul 20 08:36:26 2002 UTC (10 years, 11 months ago) by grant
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

sweep of errx/warnx, remove unnecessary trailing \n

Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 1 07:31:23 2001 UTC (11 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, 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.22: +7 -7 lines
Diff to previous 1.22 (colored)

fix a couple of -Wshadow warnings

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 18 06:28:59 2001 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Mon Jun 18 02:43:32 2001 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

use TAILQ_xxx instead of referencing tqe_xxx elements directly

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 18 02:31:09 2001 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.19: +15 -23 lines
Diff to previous 1.19 (colored)

ansi knf

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 18 02:22:33 2001 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.18: +18 -18 lines
Diff to previous 1.18 (colored)

use TAILQ_xxx instead of referencing tqh_xxx elements directly

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 26 20:02:36 1998 UTC (14 years, 10 months ago) by mycroft
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, 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, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

const poisoning.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 16 14:52:35 1997 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.16: +6 -7 lines
Diff to previous 1.16 (colored)

resolve conflicts from lite-2 merge

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 14 14:11:02 1997 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (colored)

* cleanup for WARNS=1
* deprecate register
* prefix hex numbers with '0x'

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 28 19:21:42 1996 UTC (16 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.14: +23 -16 lines
Diff to previous 1.14 (colored)

Allow for an extra argument needed by quotacheck.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 27 22:38:43 1996 UTC (16 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.13: +43 -47 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Mon Sep 23 16:11:35 1996 UTC (16 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.12: +196 -229 lines
Diff to previous 1.12 (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.12, Fri Apr 5 01:44:59 1996 UTC (17 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.11: +2 -2 lines
FILE REMOVED

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs.  For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 18 14:55:59 1995 UTC (18 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.10: +7 -2 lines
Diff to previous 1.10 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 28 00:03:55 1994 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +20 -16 lines
Diff to previous 1.9 (colored)

Mostly sync with CSRG.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 5 20:16:04 1994 UTC (18 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.8: +9 -3 lines
Diff to previous 1.8 (colored)

more cleanups from Jim Jegers, passed over by me.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 28 16:55:08 1994 UTC (18 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Use the S_IS*() macros, and make this compile again after Chris's changes to ufs.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 23 14:27:20 1994 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Eliminate uses of some obsolete functions.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 8 19:00:31 1994 UTC (19 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.5: +4 -5 lines
Diff to previous 1.5 (colored)

Update from 4.4-Lite, with local changes.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 25 18:29:01 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

need <sys/time.h>

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:27:13 1993 UTC (19 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:28:11 1993 UTC (20 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (20 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

added rcs ids to all files

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (20 years, 3 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>