The NetBSD Project

CVS log for src/sbin/fsdb/fsdb.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.53.2.1 / (download) - annotate - [select for diffs], Sat May 13 11:51:14 2023 UTC (9 months, 3 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.53: +4 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (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.54 / (download) - annotate - [select for diffs], Sat Jan 7 19:41:29 2023 UTC (13 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (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.53 / (download) - annotate - [select for diffs], Thu Nov 17 06:40:38 2022 UTC (15 months, 2 weeks ago) by chs
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.52: +314 -21 lines
Diff to previous 1.52 (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.51.2.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:08 2021 UTC (2 years, 9 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.51: +34 -9 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Sat May 29 16:51:25 2021 UTC (2 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.51: +34 -9 lines
Diff to previous 1.51 (colored)

Add birthtime support and make time 64 bit.

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:19 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.50: +64 -2 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Merge changes from current as of 20200406

Revision 1.51 / (download) - annotate - [select for diffs], Sun Apr 5 15:25:40 2020 UTC (3 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Changes since 1.50: +64 -2 lines
Diff to previous 1.50 (colored)

Fix depenency on common symbols in sbin.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Aug 4 07:19:35 2017 UTC (6 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, 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, pgoyette-compat, 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
Branch point for: phil-wifi
Changes since 1.49: +75 -22 lines
Diff to previous 1.49 (colored)

add a "saveblks <file>" command that saves the data blocks of the current
inode into named file.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Sat Aug 27 15:18:05 2016 UTC (7 years, 6 months ago) by bouyer
Branch: netbsd-7-0
CVS Tags: netbsd-7-0-2-RELEASE
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pull up following revision(s) (requested by martin in ticket #1210):
	sys/ufs/ffs/ffs_vfsops.c: revision 1.340
	usr.sbin/quot/quot.c: revision 1.34
	sbin/fsdb/fsdb.c: revision 1.49
From Michael Plass:
The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Sat Aug 27 15:17:34 2016 UTC (7 years, 6 months ago) by bouyer
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pull up following revision(s) (requested by martin in ticket #1210):
	sys/ufs/ffs/ffs_vfsops.c: revision 1.340
	usr.sbin/quot/quot.c: revision 1.34
	sbin/fsdb/fsdb.c: revision 1.49
From Michael Plass:
The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Sat Aug 27 14:41:48 2016 UTC (7 years, 6 months ago) by bouyer
Branch: netbsd-6-1
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up following revision(s) (requested by martin in ticket #1395):
	sys/ufs/ffs/ffs_vfsops.c: revision 1.340
	usr.sbin/quot/quot.c: revision 1.34
	sbin/fsdb/fsdb.c: revision 1.49
From Michael Plass:
The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Sat Aug 27 14:41:00 2016 UTC (7 years, 6 months ago) by bouyer
Branch: netbsd-6-0
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up following revision(s) (requested by martin in ticket #1395):
	sys/ufs/ffs/ffs_vfsops.c: revision 1.340
	usr.sbin/quot/quot.c: revision 1.34
	sbin/fsdb/fsdb.c: revision 1.49
From Michael Plass:
The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Sat Aug 27 14:40:35 2016 UTC (7 years, 6 months ago) by bouyer
Branch: netbsd-6
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up following revision(s) (requested by martin in ticket #1395):
	sys/ufs/ffs/ffs_vfsops.c: revision 1.340
	usr.sbin/quot/quot.c: revision 1.34
	sbin/fsdb/fsdb.c: revision 1.49
From Michael Plass:
The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:03 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 28 08:24:58 2016 UTC (7 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

From Michael Plass:

The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.

Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:25 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.44.2.2: +8 -8 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:37:28 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.43.2.2: +13 -13 lines
Diff to previous 1.43.2.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (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.44.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:51 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.44.2.1: +5 -5 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored)

resync from head

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:04 2013 UTC (10 years, 8 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, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20160726, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-1-RELEASE
Branch point for: pgoyette-localcount, netbsd-7-0, netbsd-7
Changes since 1.47: +10 -10 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Wed Jun 19 17:51:26 2013 UTC (10 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

Rename ambiguous macros:
   MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 9 17:57:09 2013 UTC (10 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Stick UFS_ in front of these symbols:
   DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:07 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.44: +16 -16 lines
Diff to previous 1.44 (colored)

resync with head

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:31 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.43.2.1: +16 -16 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:12 2013 UTC (11 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.44: +16 -16 lines
Diff to previous 1.44 (colored)

Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:39 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.43: +28 -31 lines
Diff to previous 1.43 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 20 18:50:31 2012 UTC (11 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.43: +28 -31 lines
Diff to previous 1.43 (colored)

Convert to C89 function definitions

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 29 14:34:59 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-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, 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-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Use __dead

Revision 1.42 / (download) - annotate - [select for diffs], Sun Aug 14 12:30:04 2011 UTC (12 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored)

remove gcc-4.5 hacks.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:43 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.39: +3 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 9 21:23:30 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

fix compilation.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 9 19:57:53 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

share more code.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:01 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

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

Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 11 06:53:53 2009 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

fix sign-compare issues

Revision 1.36.18.2 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:11 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.36.18.1: +1 -1 lines
Diff to previous 1.36.18.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:24 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 30 10:46:16 2008 UTC (15 years, 6 months ago) by bouyer
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, mjf-devfs2-base, 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.37: +3 -3 lines
Diff to previous 1.37 (colored)

Add fss(4) snapshot support to fsck_ffs(8) (via -x or -X options, like
dump(8)). This allows fsck_ffs -n to work on a snapshot of a R/W mounted
filesystem, and avoid errors related to filesystem activity.

Revision 1.36.18.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:21 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.36: +2 -9 lines
Diff to previous 1.36 (colored)

Sync with HEAD.

Revision 1.36.20.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:52 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.36: +2 -9 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:08 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.36: +2 -9 lines
Diff to previous 1.36 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 16 03:10:59 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-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, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

c99 initializer

Revision 1.35 / (download) - annotate - [select for diffs], Fri May 19 14:50:32 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.34: +6 -2 lines
Diff to previous 1.34 (colored)

Coverity CID 3656,3655: Plug memory leak.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 21 15:00:49 2006 UTC (17 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.33: +18 -18 lines
Diff to previous 1.33 (colored)

Don't use cast expressions as lvalues as newer versions of gcc warn.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Aug 19 02:07:19 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.32: +24 -15 lines
Diff to previous 1.32 (colored)

64 bit inode changes

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 2 00:47:42 2005 UTC (18 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

appease gcc -Wuninitialized

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 5 14:26:05 2005 UTC (19 years, 1 month 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.30: +3 -3 lines
Diff to previous 1.30 (colored)

Kill __P();

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 19 20:19:04 2005 UTC (19 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.29: +46 -89 lines
Diff to previous 1.29 (colored)

Kill __P(), ANSIfy, remove main() prototype; WARNS=2

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sat Sep 18 19:38:21 2004 UTC (19 years, 5 months ago) by he
Branch: netbsd-2-0
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-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
Changes since 1.28: +41 -37 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Pull up revision 1.29 (requested by yamt in ticket #862):
  Fix blks command:
   - use 64-bit variables for lbns
   - correct file block offsets in the case of absent indirect
     blocks

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 17 12:18:55 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.28: +41 -37 lines
Diff to previous 1.28 (colored)

fix blks command.
- use 64-bit variables for lbns.
- correct file block offsets in the case of absent indirect blocks.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 4 00:13:00 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Standardize flags display in usage.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 3 19:57:42 2004 UTC (20 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.26: +22 -10 lines
Diff to previous 1.26 (colored)

add -F option, similar to fsck/newfs/dumpfs
correctly handle negative results from fsck's setup routine
handle uid and gid in FS_42INODEFMT inodes

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 13 08:17:05 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

use bounded string op

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 26 08:42:49 2003 UTC (20 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.24: +282 -7 lines
Diff to previous 1.24 (colored)

Add a findblk command, which list the inode(s) owning the disk sector(s)
passed as argument.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Apr 8 14:46:21 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Fix reverse test for UFS2 in the blks command.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:29 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.22: +140 -48 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:11 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.21: +15 -9 lines
Diff to previous 1.21 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jul 20 08:36:26 2002 UTC (21 years, 7 months ago) by grant
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +7 -7 lines
Diff to previous 1.20 (colored)

sweep of errx/warnx, remove unnecessary trailing \n

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 18 20:04:49 2002 UTC (21 years, 11 months ago) by thorpej
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.19: +4 -3 lines
Diff to previous 1.19 (colored)

Cast 3rd arg to el_parse() to deal with const'ification of
libedit.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 19 22:56:19 2001 UTC (23 years ago) by cgd
Branch: MAIN
Changes since 1.18: +4 -6 lines
Diff to previous 1.18 (colored)

convert to use getprogname()

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 4 21:29:32 2001 UTC (23 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)

remove redundant declarations

Revision 1.16.10.1 / (download) - annotate - [select for diffs], Wed Oct 18 00:39:45 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Oct 10 22:25:02 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up revision 1.17 (requested by is):
  Format string cleanup.

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

Format string cleanups by Bill Sommerfeld.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 9 16:11:47 1999 UTC (25 years ago) by bouyer
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, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5, netbsd-1-4
Changes since 1.15: +95 -4 lines
Diff to previous 1.15 (colored)

Add a [-n] option, which allows to examine a fs without altering it.
Add a 'blks' command, which lists the blocks address of a file.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 20 10:01:11 1998 UTC (25 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

s/H_SETMAXSIZE/H_SETSIZE/

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 20 00:58:05 1998 UTC (25 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Adapt to the libedit changes.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 1 16:04:21 1998 UTC (25 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Need <time.h> for mktime() prototype.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 18 17:03:15 1998 UTC (25 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.11: +37 -37 lines
Diff to previous 1.11 (colored)

Add support for non-native byteorder FFS.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 14 15:06:59 1997 UTC (26 years, 4 months ago) by christos
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.10: +5 -4 lines
Diff to previous 1.10 (colored)

PR/4257: Jaromir Dolecek: Update for libedit interface change.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 15 01:45:36 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

deprecate register

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 14 14:56:58 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.8: +576 -579 lines
Diff to previous 1.8 (colored)

* KNF-ify
* prefix hex numbers with '0x'

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 31 00:21:55 1997 UTC (26 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Fix files using old TNF copyright notice

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 11 06:50:53 1997 UTC (27 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.6: +8 -8 lines
Diff to previous 1.6 (colored)

don't call el_parse() if there's no commands (el_parse() now checks this,
but more safety is good)

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 11 20:22:43 1996 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +25 -2 lines
Diff to previous 1.5 (colored)

Add a chlen command, to change the length/size of an inode.  From FreeBSD.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 28 19:30:35 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.4: +50 -47 lines
Diff to previous 1.4 (colored)

Make this work after the fsck changes.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 21 17:56:15 1996 UTC (27 years, 11 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Be pedantic, main() returns int in C.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 27 22:28:12 1996 UTC (28 years ago) by jtc
Branch: MAIN
Changes since 1.2: +35 -27 lines
Diff to previous 1.2 (colored)

Copyright assigned to the NetBSD Foundation

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 8 23:18:10 1995 UTC (28 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.1: +47 -32 lines
Diff to previous 1.1 (colored)

A teensy bit of really minor cleanup.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Oct 8 23:08:36 1995 UTC (28 years, 5 months ago) by thorpej
Branch: kohl
CVS Tags: fsdb-951007
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

FFS debugging/editing tool, from John Kohl.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 8 23:08:36 1995 UTC (28 years, 5 months ago) by thorpej
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>