The NetBSD Project

CVS log for src/usr.sbin/dumpfs/dumpfs.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.69 / (download) - annotate - [select for diffs], Mon Nov 6 12:18:59 2023 UTC (3 months, 3 weeks ago) by hannken
Branch: MAIN
CVS Tags: HEAD
Changes since 1.68: +7 -2 lines
Diff to previous 1.68 (colored)

Print the inode numbers of persistent snapshots.

PR kern/57675 "persistent file system snapshots aren't obvious"

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Sat May 13 11:51:14 2023 UTC (9 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.66.2.1: +9 -7 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Pull up following revision(s) (requested by chs in ticket #160):

	usr.sbin/makefs/ffs/ffs_alloc.c: revision 1.31
	sbin/tunefs/tunefs.c: revision 1.58
	sbin/fsck_ffs/setup.c: revision 1.105
	sbin/fsck_ffs/pass5.c: revision 1.56
	usr.sbin/makefs/ffs.c: revision 1.74
	usr.sbin/makefs/ffs/mkfs.c: revision 1.42
	usr.sbin/makefs/Makefile: revision 1.40
	sys/ufs/ffs/fs.h: revision 1.71
	sbin/fsdb/fsdb.c: revision 1.54
	sbin/resize_ffs/resize_ffs.c: revision 1.58
	sbin/fsck_ffs/pass4.c: revision 1.29
	usr.sbin/makefs/ffs/ffs_extern.h: revision 1.9
	sbin/newfs/mkfs.c: revision 1.133
	sys/ufs/ffs/ffs_alloc.c: revision 1.172
	sbin/fsck_ffs/pass1b.c: revision 1.24
	usr.sbin/dumpfs/dumpfs.c: revision 1.68
	sys/ufs/ffs/ffs_extern.h: revision 1.88
	usr.sbin/quotacheck/quotacheck.c: revision 1.51
	sys/ufs/ffs/ffs_subr.c: revision 1.54
	sbin/fsck_ffs/main.c: revision 1.91
	sbin/fsck_ffs/pass1.c: revision 1.63

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:
  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000
    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.
    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.
    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000
    One last pass to get all the unsigned comparisons correct.

In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jan 7 19:41:30 2023 UTC (13 months, 3 weeks ago) by chs
Branch: MAIN
Changes since 1.67: +9 -7 lines
Diff to previous 1.67 (colored)

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:

  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000

    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.

    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.

    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000

    One last pass to get all the unsigned comparisons correct.


In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Tue Dec 20 09:49:21 2022 UTC (14 months, 1 week ago) by martin
Branch: netbsd-10
Changes since 1.66: +8 -7 lines
Diff to previous 1.66 (colored)

Pull up following revision(s) (requested by chs in ticket #9):

	usr.sbin/dumpfs/dumpfs.c: revision 1.67
	usr.sbin/dumpfs/dumpfs.8: revision 1.21

dumpfs: remove confusing output for UFS2
remove the mention of "fslevel 5" because no such thing exists.

the whole "fs level" concept really only applies to UFS1, so don't print
the line with the level number and details for UFS2 file systems at all.
try to clarify this in the manpage as well.

prompted by PR 57082.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Dec 19 18:51:42 2022 UTC (14 months, 1 week ago) by chs
Branch: MAIN
Changes since 1.66: +8 -7 lines
Diff to previous 1.66 (colored)

dumpfs: remove confusing output for UFS2

remove the mention of "fslevel 5" because no such thing exists.
the whole "fs level" concept really only applies to UFS1, so don't print
the line with the level number and details for UFS2 file systems at all.
try to clarify this in the manpage as well.
prompted by PR 57082.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Nov 17 06:40:40 2022 UTC (15 months, 1 week ago) by chs
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.65: +6 -3 lines
Diff to previous 1.65 (colored)

Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new	fsck_ffs operations "-c	ea" and	"-c no-ea" to convert file systems
from UFS2 to UFS2ea and	vice-versa (both of which delete all existing extended
attributes in the process).

Revision 1.65 / (download) - annotate - [select for diffs], Sat Sep 18 03:05:20 2021 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.64: +37 -31 lines
Diff to previous 1.64 (colored)

Change the default for ACLs to be posix1e instead of nfsv4 to match FreeBSD.
Requested by chuq.

Revision 1.63.24.1 / (download) - annotate - [select for diffs], Thu Mar 15 09:12:08 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Synch with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 6 07:45:38 2018 UTC (5 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored)

print quota pointers in superblock

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:07 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.59.2.1: +17 -8 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:43:03 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.58.2.1: +21 -10 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.63 / (download) - annotate - [select for diffs], Tue Sep 3 04:02:13 2013 UTC (10 years, 5 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.62: +5 -3 lines
Diff to previous 1.62 (colored)

Print FS_TRIM too.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Sep 3 02:25:36 2013 UTC (10 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.61: +12 -5 lines
Diff to previous 1.61 (colored)

Teach this to print FS_SUJ (and FS_GJOURNAL, whatever that is, as it
was missing for some reason) and cope with FS_INDEXDIRS not currently
being defined.

Since FS_SUJ actually appears in the wild, it's fairly important to
recognize it.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:29:04 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.59: +5 -3 lines
Diff to previous 1.59 (colored)

resync from head

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:05 2013 UTC (10 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.60: +6 -6 lines
Diff to previous 1.60 (colored)

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Sat Apr 20 10:03:37 2013 UTC (10 years, 10 months ago) by bouyer
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE
Changes since 1.58: +5 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by taca in ticket #867):
	usr.sbin/dumpfs/dumpfs.c: revision 1.60
Show in-filesystem quotas flag instead of unknown flag bit.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Sat Apr 20 10:03:04 2013 UTC (10 years, 10 months ago) by bouyer
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.58: +5 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by taca in ticket #867):
	usr.sbin/dumpfs/dumpfs.c: revision 1.60
Show in-filesystem quotas flag instead of unknown flag bit.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 2 13:31:47 2013 UTC (10 years, 10 months ago) by taca
Branch: MAIN
Changes since 1.59: +5 -3 lines
Diff to previous 1.59 (colored)

Show in-filesystem quotas flag instead of unknown flag bit.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:46 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.58: +12 -6 lines
Diff to previous 1.58 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Sat Apr 7 05:07:32 2012 UTC (11 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.58: +12 -6 lines
Diff to previous 1.58 (colored)

use getfsspecname()

Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 30 18:24:17 2011 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, netbsd-6-0, netbsd-6
Changes since 1.57: +44 -45 lines
Diff to previous 1.57 (colored)

static + __dead

Revision 1.57 / (download) - annotate - [select for diffs], Sat Feb 27 12:07:40 2010 UTC (14 years ago) by mlelstv
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.56: +10 -8 lines
Diff to previous 1.56 (colored)

Adjust for change in kernel that stores physical block numbers
in superblock that point to the journal.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Feb 27 10:49:58 2010 UTC (14 years ago) by wiz
Branch: MAIN
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

Sort options.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Feb 27 09:53:33 2010 UTC (14 years ago) by mlelstv
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Print both commit headers, even for disks with larger block sizes.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Feb 27 09:05:59 2010 UTC (14 years ago) by mlelstv
Branch: MAIN
Changes since 1.53: +195 -6 lines
Diff to previous 1.53 (colored)

Add support to print the WAPBL journal.

Revision 1.51.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:20:21 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.51: +8 -7 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.53 / (download) - annotate - [select for diffs], Thu May 7 06:40:38 2009 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.52: +6 -5 lines
Diff to previous 1.52 (colored)

Display the superblock format as the second line ("FFSv1" or "FFSv2").
No need to display the magic format further down.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Apr 15 05:43:22 2009 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Fix WARNS=4 issues (-Wsign-compare -Wextra)

Revision 1.48.20.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:30:03 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.48: +16 -6 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 7 22:26:14 2008 UTC (15 years, 6 months ago) by oster
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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, 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
Branch point for: jym-xensuspend
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Since we're printing loc2 and loc3, make the headings match what we print.
Spotted by Paul Goyette on current-users.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:07 2008 UTC (15 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.49: +14 -4 lines
Diff to previous 1.49 (colored)

Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Mon Jul 28 12:40:06 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49.2.1: +743 -0 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Add support for creating a WAPBL log in the filesystem.  Will
create an in-filesystem log on first "mount -o log" if one doesn't
exist, and will then continue to use same log in the future.  See
(soon to be added) wapbl(4) for more info.

Adds a new B_CONTIG low-level allocation flag that uses hints in
"struct ffs_inode_ext" to lay out an ffs file's data contiguously.

Thanks to Greg Oster for helping with the design of this and to
Antti Kantee for code review and suggestions.

Revision 1.49.2.1, Mon Jul 21 13:36:58 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.49: +0 -733 lines
FILE REMOVED

file dumpfs.c was added on branch simonb-wapbl on 2008-07-28 12:40:06 +0000

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 21 13:36:58 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: simonb-wapbl
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Apr 24 21:20:44 2006 UTC (17 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa
Changes since 1.47: +5 -3 lines
Diff to previous 1.47 (colored)

Coverty CID 1643: free(ino_buf) on error return.
(There is only 1 call to print_inodes(), so it doesn't really matter...)

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 14 07:22:04 2004 UTC (19 years, 8 months ago) by dbj
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.46: +3 -3 lines
Diff to previous 1.46 (colored)

when printing alternate superblocks, cast result of
fsbtodb() to (off_t) before multiplying by dev_bsize.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 27 11:31:22 2004 UTC (19 years, 11 months ago) by dsl
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.45: +7 -7 lines
Diff to previous 1.45 (colored)

Rework previous to avoid checking FS_FLAGS_UPDATED for ffsv2

Revision 1.45 / (download) - annotate - [select for diffs], Sun Mar 21 12:37:48 2004 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.44: +11 -5 lines
Diff to previous 1.44 (colored)

Fix PR kern/24809 properly...

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 20 14:09:44 2004 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.43: +6 -3 lines
Diff to previous 1.43 (colored)

When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 4 00:21:29 2004 UTC (20 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

add stddef.h include and remove shadowed local var.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jan 3 19:32:58 2004 UTC (20 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.41: +189 -68 lines
Diff to previous 1.41 (colored)

restore traditional output for older filesystems
add byte swapping support for inode printing

Revision 1.41 / (download) - annotate - [select for diffs], Mon Dec 29 14:25:07 2003 UTC (20 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

don't drop -v option when using other defaults

Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 28 06:06:55 2003 UTC (20 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.39: +6 -3 lines
Diff to previous 1.39 (colored)

fix two bugs with argument parsing:
  missing break statement caused -F to give usage
  -v argument caused default options to be dropped

Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 26 07:02:43 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.38: +99 -65 lines
Diff to previous 1.38 (colored)

Add a -a option to dump all alternate superblocks

Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 30 12:48:11 2003 UTC (20 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Sort options in usage (AaBb...).

Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 30 10:30:52 2003 UTC (20 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.36: +170 -35 lines
Diff to previous 1.36 (colored)

Include a (very raw) dump of the inodes.
Add options to determine what is dumped (default to old behaviour).

Revision 1.36 / (download) - annotate - [select for diffs], Tue Aug 12 13:15:35 2003 UTC (20 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.35: +30 -21 lines
Diff to previous 1.35 (colored)

Fix display of fslevel (was almost always 0)

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 7 11:25:19 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 2 22:50:52 2003 UTC (20 years, 11 months ago) by he
Branch: MAIN
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

Add explicit cats for %lld printf format args, for the benefit of LP64
platforms.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:47 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.32: +100 -154 lines
Diff to previous 1.32 (colored)

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 8 05:32:45 2002 UTC (22 years, 1 month 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.31: +3 -2 lines
Diff to previous 1.31 (colored)

need ufs/ufs/dinode.h for ufs/ffs/fs.h

Revision 1.21.4.6 / (download) - annotate - [select for diffs], Sun Nov 25 19:58:53 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.21.4.5: +4 -2 lines
Diff to previous 1.21.4.5 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up revision 1.30 (requested by lukem):
  Pull in enhanced ffs_dirpref() algorithm, which provides a
  substantial performance improvement through better locality
  between parent/child directories and their files, and by easing
  the pressure on the buffer cache for metadata operations.

Revision 1.21.4.5 / (download) - annotate - [select for diffs], Sun Nov 25 19:36:53 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.21.4.4: +7 -5 lines
Diff to previous 1.21.4.4 (colored) to branchpoint 1.21 (colored)

Pull up revision 1.29 (requested by lukem):
  Change fs_csp[] from being a fixed size to being an array sized
  as required.  This allows file systems with more than about 15500
  cylinder groups (on 32-bit systems) to be used.

Revision 1.21.4.4 / (download) - annotate - [select for diffs], Sun Nov 25 19:33:20 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.21.4.3: +6 -8 lines
Diff to previous 1.21.4.3 (colored) to branchpoint 1.21 (colored)

Pull up revision 1.28 (requested by lukem):
  Replace unused fs_headswitch/trkseek with fs_id.

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Sun Nov 25 19:28:56 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.21.4.2: +3 -3 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored)

Pull up revision 1.27 (requested by lukem):
  Call ffs_sb_swap() with the correct arguments.  Fixes problems
  with using other-endian file systems.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sun Nov 25 19:24:07 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.21.4.1: +3 -3 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored)

Pull up revision 1.26 (requested by lukem):
  Call ffs_sb_swap() with ns=1.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sun Nov 25 19:20:09 2001 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.21: +10 -6 lines
Diff to previous 1.21 (colored)

Pull up revisions 1.22-1.24 (requested by lukem):
  Use int32_t for on-disk time_t representation.
  Convert %q_ to %ll_ in print formats.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Nov 9 12:01:13 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.30: +48 -12 lines
Diff to previous 1.30 (colored)

When used without -F, search for `special' in fstab and use the raw version
of the fs_spec. In any case, use opendisk(3) to open the device.

When used with -F just open `special' as-is.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 6 02:16:02 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.29: +4 -2 lines
Diff to previous 1.29 (colored)

Incorporate the enhanced ffs_dirpref() by Grigoriy Orlov, as found in
FreeBSD (three commits; the initial work, man page updates, and a fix
to ffs_reload()), with the following differences:
- Be consistent between newfs(8) and tunefs(8) as to the options which
  set and control the tuning parameters for this work (avgfilesize & avgfpdir)
- Use u_int16_t instead of u_int8_t to keep track of the number of
  contiguous directories (suggested by Chuck Silvers)
- Work within our FFS_EI framework
- Ensure that fs->fs_maxclusters and fs->fs_contigdirs don't point to
  the same area of memory

The new algorithm has a marked performance increase, especially when
performing tasks such as untarring pkgsrc.tar.gz, etc.

The original FreeBSD commit messages are attached:

=====
mckusick    2001/04/10 01:39:00 PDT
  Directory layout preference improvements from Grigoriy Orlov <gluk@ptci.ru>.
  His description of the problem and solution follow. My own tests show
  speedups on typical filesystem intensive workloads of 5% to 12% which
  is very impressive considering the small amount of code change involved.

  ------

    One day I noticed that some file operations run much faster on
  small file systems then on big ones. I've looked at the ffs
  algorithms, thought about them, and redesigned the dirpref algorithm.

    First I want to describe the results of my tests. These results are old
  and I have improved the algorithm after these tests were done. Nevertheless
  they show how big the perfomance speedup may be. I have done two file/directory
  intensive tests on a two OpenBSD systems with old and new dirpref algorithm.
  The first test is "tar -xzf ports.tar.gz", the second is "rm -rf ports".
  The ports.tar.gz file is the ports collection from the OpenBSD 2.8 release.
  It contains 6596 directories and 13868 files. The test systems are:

  1. Celeron-450, 128Mb, two IDE drives, the system at wd0, file system for
     test is at wd1. Size of test file system is 8 Gb, number of cg=991,
     size of cg is 8m, block size = 8k, fragment size = 1k OpenBSD-current
     from Dec 2000 with BUFCACHEPERCENT=35

  2. PIII-600, 128Mb, two IBM DTLA-307045 IDE drives at i815e, the system
     at wd0, file system for test is at wd1. Size of test file system is 40 Gb,
     number of cg=5324, size of cg is 8m, block size = 8k, fragment size = 1k
     OpenBSD-current from Dec 2000 with BUFCACHEPERCENT=50

  You can get more info about the test systems and methods at:
  http://www.ptci.ru/gluk/dirpref/old/dirpref.html

                                Test Results

               tar -xzf ports.tar.gz               rm -rf ports
    mode  old dirpref new dirpref speedup old dirprefnew dirpref speedup
                               First system
   normal     667         472      1.41       477        331       1.44
   async      285         144      1.98       130         14       9.29
   sync       768         616      1.25       477        334       1.43
   softdep    413         252      1.64       241         38       6.34
                               Second system
   normal     329         81       4.06       263.5       93.5     2.81
   async      302         25.7    11.75       112          2.26   49.56
   sync       281         57.0     4.93       263         90.5     2.9
   softdep    341         40.6     8.4        284          4.76   59.66

  "old dirpref" and "new dirpref" columns give a test time in seconds.
  speedup - speed increasement in times, ie. old dirpref / new dirpref.

  ------

  Algorithm description

  The old dirpref algorithm is described in comments:

  /*
   * Find a cylinder to place a directory.
   *
   * The policy implemented by this algorithm is to select from
   * among those cylinder groups with above the average number of
   * free inodes, the one with the smallest number of directories.
   */

  A new directory is allocated in a different cylinder groups than its
  parent directory resulting in a directory tree that is spreaded across
  all the cylinder groups. This spreading out results in a non-optimal
  access to the directories and files. When we have a small filesystem
  it is not a problem but when the filesystem is big then perfomance
  degradation becomes very apparent.

  What I mean by a big file system ?

    1. A big filesystem is a filesystem which occupy 20-30 or more percent
       of total drive space, i.e. first and last cylinder are physically
       located relatively far from each other.
    2. It has a relatively large number of cylinder groups, for example
       more cylinder groups than 50% of the buffers in the buffer cache.

  The first results in long access times, while the second results in
  many buffers being used by metadata operations. Such operations use
  cylinder group blocks and on-disk inode blocks. The cylinder group
  block (fs->fs_cblkno) contains struct cg, inode and block bit maps.
  It is 2k in size for the default filesystem parameters. If new and
  parent directories are located in different cylinder groups then the
  system performs more input/output operations and uses more buffers.
  On filesystems with many cylinder groups, lots of cache buffers are
  used for metadata operations.

  My solution for this problem is very simple. I allocate many directories
  in one cylinder group. I also do some things, so that the new allocation
  method does not cause excessive fragmentation and all directory inodes
  will not be located at a location far from its file's inodes and data.
  The algorithm is:
  /*
   * Find a cylinder group to place a directory.
   *
   * The policy implemented by this algorithm is to allocate a
   * directory inode in the same cylinder group as its parent
   * directory, but also to reserve space for its files inodes
   * and data. Restrict the number of directories which may be
   * allocated one after another in the same cylinder group
   * without intervening allocation of files.
   *
   * If we allocate a first level directory then force allocation
   * in another cylinder group.
   */

    My early versions of dirpref give me a good results for a wide range of
  file operations and different filesystem capacities except one case:
  those applications that create their entire directory structure first
  and only later fill this structure with files.

    My solution for such and similar cases is to limit a number of
  directories which may be created one after another in the same cylinder
  group without intervening file creations. For this purpose, I allocate
  an array of counters at mount time. This array is linked to the superblock
  fs->fs_contigdirs[cg]. Each time a directory is created the counter
  increases and each time a file is created the counter decreases. A 60Gb
  filesystem with 8mb/cg requires 10kb of memory for the counters array.

    The maxcontigdirs is a maximum number of directories which may be created
  without an intervening file creation. I found in my tests that the best
  performance occurs when I restrict the number of directories in one cylinder
  group such that all its files may be located in the same cylinder group.
  There may be some deterioration in performance if all the file inodes
  are in the same cylinder group as its containing directory, but their
  data partially resides in a different cylinder group. The maxcontigdirs
  value is calculated to try to prevent this condition. Since there is
  no way to know how many files and directories will be allocated later
  I added two optimization parameters in superblock/tunefs. They are:

          int32_t  fs_avgfilesize;   /* expected average file size */
          int32_t  fs_avgfpdir;      /* expected # of files per directory */

  These parameters have reasonable defaults but may be tweeked for special
  uses of a filesystem. They are only necessary in rare cases like better
  tuning a filesystem being used to store a squid cache.

  I have been using this algorithm for about 3 months. I have done
  a lot of testing on filesystems with different capacities, average
  filesize, average number of files per directory, and so on. I think
  this algorithm has no negative impact on filesystem perfomance. It
  works better than the default one in all cases. The new dirpref
  will greatly improve untarring/removing/coping of big directories,
  decrease load on cvs servers and much more. The new dirpref doesn't
  speedup a compilation process, but also doesn't slow it down.

  Obtained from:	Grigoriy Orlov <gluk@ptci.ru>
=====

=====
iedowse     2001/04/23 17:37:17 PDT
  Pre-dirpref versions of fsck may zero out the new superblock fields
  fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
  panics if these fields were zeroed while a filesystem was mounted
  read-only, and then remounted read-write.

  Add code to ffs_reload() which copies the fs_contigdirs pointer
  from the previous superblock, and reinitialises fs_avgf* if necessary.

  Reviewed by:	mckusick
=====

=====
nik         2001/04/10 03:36:44 PDT
  Add information about the new options to newfs and tunefs which set the
  expected average file size and number of files per directory.  Could do
  with some fleshing out.
=====

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 2 01:58:32 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored)

Incorporate fix by iedowse @ FreeBSD to allow disks with large numbers of
cylinder groups to work correctly, with minor modifications by me to work
with our FFS_EI code.  From the FreeBSD commit message:

	The ffs superblock includes a 128-byte region for use by temporary
	in-core pointers to summary information. An array in this region
	(fs_csp) could overflow on filesystems with a very large number of
	cylinder groups (~16000 on i386 with 8k blocks). When this happens,
	other fields in the superblock get corrupted, and fsck refuses to
	check the filesystem.

	Solve this problem by replacing the fs_csp array in 'struct fs'
	with a single pointer, and add padding to keep the length of the
	128-byte region fixed. Update the kernel and userland utilities
	to use just this single pointer.

	With this change, the kernel no longer makes use of the superblock
	fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c
	to indicate that these fields must be calculated for compatibility
	with older kernels.

	Reviewed by:    mckusick

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 30 14:37:27 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.27: +6 -8 lines
Diff to previous 1.27 (colored)

some improvements from freebsd/openbsd
- replace the unused fs_headswitch and fs_trkseek with fs_id[2], bringing
  our struct fs closer to that in freebsd & openbsd (& solaris FWIW)
- dumpfs: improve warning message when cpc == 0

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 17 02:18:49 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right.  invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.

this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B"  to swap a file system endianness).

whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.

FFS_EI should now be a lot more stable.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 15 05:52:28 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

call ffs_sb_swap() with ns=1, otherwise dumpfs core dumps on other endian fses

Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 14 01:02:03 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.24: +25 -27 lines
Diff to previous 1.24 (colored)

- ansi KNF
- add -F flag to specify "argument is an fs image" (effectively a no-op,
  but here for consistency with other tools).

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jul 26 05:49:00 2001 UTC (22 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

fix time display bug introduced in previous commit [hi christos! ;]
because it was using an unitialised variable.  change:
	ctime(&t); foo.bar = t
into
	t = foo.bar; ctime(&t)

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 23 08:52:00 2001 UTC (23 years ago) by christos
Branch: MAIN
Changes since 1.22: +8 -4 lines
Diff to previous 1.22 (colored)

make this compile again.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 5 03:27:26 2001 UTC (23 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

use %ll_ instead of the less standard %q_

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 18 20:24:19 2000 UTC (24 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.20: +5 -4 lines
Diff to previous 1.20 (colored)

Dump softdep mode.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 13 00:16:24 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

Fix a printf format warning on the Alpha.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 5 19:54:45 1999 UTC (24 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

Display fs_maxfilesize, and clean up some other formatting.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 27 20:31:00 1998 UTC (25 years, 6 months ago) by ross
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.17: +4 -3 lines
Diff to previous 1.17 (colored)

{} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 27 00:52:01 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

const poisoning.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 18 17:19:59 1998 UTC (25 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.15: +105 -16 lines
Diff to previous 1.15 (colored)

Add support for non-native byteorder FFS.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 19 09:25:33 1997 UTC (26 years, 4 months ago) by mrg
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.14: +3 -3 lines
Diff to previous 1.14 (colored)

fix compile warnings on the alpha.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 17 00:21:25 1997 UTC (26 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.13: +11 -10 lines
Diff to previous 1.13 (colored)

WARNSify

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 16 03:13:18 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.12: +5 -6 lines
Diff to previous 1.12 (colored)

resolve conflicts

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 16 02:26:11 1997 UTC (26 years, 5 months ago) by lukem
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +16 -9 lines
Diff to previous 1.1.1.2 (colored)

imported from lite-2

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 26 05:41:33 1997 UTC (26 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.11: +18 -5 lines
Diff to previous 1.11 (colored)

Determine filesystem level (ref: fsck_ffs(8) -c ...) and display it.
Code was derivied from observing how fsck_ffs `upgrades' to a given
level, and has been tested on recent NetBSD filesystems (reports as "3"),
SunOS ("1"), and ULTRIX ("0"). I haven't found a filesystem of level
"2" to test, but the code should detect it. Fixes [bin/1353]

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 9 21:23:36 1996 UTC (28 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

Avoid arithmetic overflow (Tor Egge; PR#1768).

Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 12 21:23:24 1995 UTC (28 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Print out the `clean' field.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 18 14:55:16 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 26 22:11:31 1994 UTC (29 years, 2 months ago) by glass
Branch: MAIN
Changes since 1.7: +8 -1 lines
Diff to previous 1.7 (colored)

keep you from dumpfs-ing a filesystem with a bad magic #.  fixes bug 249. fix 98% from Giles Lean

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 23 02:18:35 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +8 -6 lines
Diff to previous 1.6 (colored)

err(3)/warn(3) cleanup

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 22:42:43 1994 UTC (29 years, 8 months ago) by mycroft
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +120 -66 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4-Lite version.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 8 18:58:23 1994 UTC (29 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +120 -67 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:23:19 1994 UTC (29 years, 10 months 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:32 1993 UTC (30 years, 7 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:27:31 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
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 (30 years, 11 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.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 11 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>