The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 13 19:53:16 2013 UTC (4 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pagecache-base8, tls-maxphys-nbase, tls-maxphys-base, agc-symver-base, agc-symver, HEAD
Changes since 1.23: +10 -3 lines
Diff to previous 1.23 (colored)

Support symlinks to a block device to resolve the name of the
corresponding raw device.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 8 04:19:14 2012 UTC (13 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.22: +14 -14 lines
Diff to previous 1.22 (colored)

Don't re-use the same buffer that we pass in for newname in the cooked->raw
conversion. Better variable names.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 7 16:44:10 2012 UTC (13 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.21: +16 -39 lines
Diff to previous 1.21 (colored)

factor out rawname() from dump, fsck, savecore.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 7 04:52:20 2012 UTC (13 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.20: +7 -3 lines
Diff to previous 1.20 (colored)

use getfsspecname()

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 9 19:57:50 2011 UTC (23 months, 1 week ago) by christos
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.19: +45 -2 lines
Diff to previous 1.19 (colored)

share more code.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 4 23:55:42 2010 UTC (3 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.18: +14 -2 lines
Diff to previous 1.18 (colored)

Centralize time printing and deal with ctime possibly returning NULL.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 16 23:17:55 2008 UTC (5 years, 2 months ago) by lukem
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
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

errexit() now provides the trailing \n (since fsck_ffs assumed that
from a conversion from err(3)), so "make it so".

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 23 21:41:47 2008 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 26 18:14:28 2006 UTC (6 years, 8 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.15: +2 -38 lines
Diff to previous 1.15 (colored)

Programs that use efun.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 5 16:52:05 2006 UTC (6 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.14: +16 -10 lines
Diff to previous 1.14 (colored)

s/perror/perr/ so that we can make it varyadic. Overloading stdio's perror()
sneaky.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Oct 20 12:04:38 2003 UTC (9 years, 7 months ago) by dsl
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, 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.13: +8 -3 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:16 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.12: +3 -7 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Fri Mar 28 08:12:38 2003 UTC (10 years, 1 month ago) by perseant
Branch: MAIN
Changes since 1.11: +3 -6 lines
Diff to previous 1.11 (colored)

Make vmsg non-static, so it can be used directly by fsck_lfs.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 9 07:50:19 2001 UTC (11 years, 6 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, fvdl_fs64_base
Changes since 1.10: +10 -6 lines
Diff to previous 1.10 (colored)

use MAXPATHLEN instead of 32 as the size of the rawbuf

Revision 1.10 / (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.9: +20 -79 lines
Diff to previous 1.9 (colored)

ansi knf

Revision 1.9 / (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.8: +3 -5 lines
Diff to previous 1.8 (colored)

convert to use getprogname()

Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 10 20:24:51 2000 UTC (12 years, 7 months ago) by is
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

Format string cleanups by Bill Sommerfeld.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 30 17:41:03 1998 UTC (14 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-ALPHA2, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5, netbsd-1-4
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Cast pointer diffs to int for use in printf format width specifiers.

Revision 1.6 / (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.5: +15 -18 lines
Diff to previous 1.5 (colored)

const poisoning.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 31 09:11:55 1997 UTC (15 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +15 -9 lines
Diff to previous 1.4 (colored)

Format police.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 14 14:11:01 1997 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 22 16:57:51 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.2: +21 -14 lines
Diff to previous 1.2 (colored)

Fix varyadic non ansi functions.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 3 20:06:31 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.1: +14 -2 lines
Diff to previous 1.1 (colored)

- Null terminate the argv vector [from ws]
- Dynamically allocate the argv vector
- Add -f global flag [from ws]

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 27 22:38:41 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN

- 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

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>