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


Keyword substitution: kv
Default branch: MAIN


Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Sat May 13 11:51:14 2023 UTC (18 months, 3 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 7 19:41:29 2023 UTC (22 months, 4 weeks ago) by chs
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 17 06:40:38 2022 UTC (2 years ago) by chs
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +314 -21 lines
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 - view: text, markup, annotated - select for diffs
Mon May 31 22:15:08 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +34 -9 lines
sync with head

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat May 29 16:51:25 2021 UTC (3 years, 6 months ago) by christos
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +34 -9 lines
Add birthtime support and make time 64 bit.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:19 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +64 -2 lines
Merge changes from current as of 20200406

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Apr 5 15:25:40 2020 UTC (4 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +64 -2 lines
Fix depenency on common symbols in sbin.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Aug 4 07:19:35 2017 UTC (7 years, 4 months ago) by mrg
Branches: 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-4-RELEASE, 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
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +75 -22 lines
add a "saveblks <file>" command that saves the data blocks of the current
inode into named file.

Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:18:05 2016 UTC (8 years, 3 months ago) by bouyer
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 27 15:17:34 2016 UTC (8 years, 3 months ago) by bouyer
Branches: 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
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 27 14:41:48 2016 UTC (8 years, 3 months ago) by bouyer
Branches: netbsd-6-1
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 27 14:41:00 2016 UTC (8 years, 3 months ago) by bouyer
Branches: netbsd-6-0
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 27 14:40:35 2016 UTC (8 years, 3 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:03 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
Sync with HEAD

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 28 08:24:58 2016 UTC (8 years, 4 months ago) by martin
Branches: 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-3-RELEASE, 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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:25 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.44.2.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.2: +8 -8 lines
Rebase to HEAD as of a few days ago.

Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:28 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.43.2.2: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.2: +13 -13 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:51 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.1: +5 -5 lines
resync from head

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jun 23 02:06:04 2013 UTC (11 years, 5 months ago) by dholland
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -10 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 19 17:51:26 2013 UTC (11 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 9 17:57:09 2013 UTC (11 years, 6 months ago) by dholland
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Stick UFS_ in front of these symbols:
   DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:07 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +16 -16 lines
resync with head

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:31 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.1: +16 -16 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:12 2013 UTC (11 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +16 -16 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:39 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +28 -31 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Mar 20 18:50:31 2012 UTC (12 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +28 -31 lines
Convert to C89 function definitions

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:34:59 2011 UTC (13 years, 3 months ago) by joerg
Branches: 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
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Use __dead

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Aug 14 12:30:04 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -4 lines
remove gcc-4.5 hacks.

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:18:43 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -4 lines
Catchup with rmind-uvmplock merge.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 9 21:23:30 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
fix compilation.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 9 19:57:53 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -3 lines
share more code.

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:01 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +5 -5 lines
Sync with HEAD.

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

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Apr 11 06:53:53 2009 UTC (15 years, 7 months ago) by lukem
Branches: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
fix sign-compare issues

Revision 1.36.18.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:11 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.36.18.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.18.1: +1 -1 lines
Sync with HEAD.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:28:24 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Aug 30 10:46:16 2008 UTC (16 years, 3 months ago) by bouyer
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:21 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -9 lines
Sync with HEAD.

Revision 1.36.20.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:52 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +2 -9 lines
sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:08 2008 UTC (16 years, 7 months ago) by martin
Branches: 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Oct 16 03:10:59 2006 UTC (18 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
c99 initializer

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri May 19 14:50:32 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -2 lines
Coverity CID 3656,3655: Plug memory leak.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Apr 21 15:00:49 2006 UTC (18 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +18 -18 lines
Don't use cast expressions as lvalues as newer versions of gcc warn.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:07:19 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +24 -15 lines
64 bit inode changes

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jun 2 00:47:42 2005 UTC (19 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
appease gcc -Wuninitialized

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Feb 5 14:26:05 2005 UTC (19 years, 10 months ago) by xtraeme
Branches: 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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Kill __P();

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jan 19 20:19:04 2005 UTC (19 years, 10 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +46 -89 lines
Kill __P(), ANSIfy, remove main() prototype; WARNS=2

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 18 19:38:21 2004 UTC (20 years, 2 months ago) by he
Branches: 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
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +41 -37 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 17 12:18:55 2004 UTC (20 years, 2 months ago) by yamt
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +41 -37 lines
fix blks command.
- use 64-bit variables for lbns.
- correct file block offsets in the case of absent indirect blocks.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 4 00:13:00 2004 UTC (20 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Standardize flags display in usage.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 3 19:57:42 2004 UTC (20 years, 11 months ago) by dbj
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +22 -10 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 13 08:17:05 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -3 lines
use bounded string op

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Apr 26 08:42:49 2003 UTC (21 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +282 -7 lines
Add a findblk command, which list the inode(s) owning the disk sector(s)
passed as argument.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Apr 8 14:46:21 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Fix reverse test for UFS2 in the blks command.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:39:29 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +140 -48 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:11 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +15 -9 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 20 08:36:26 2002 UTC (22 years, 4 months ago) by grant
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -7 lines
sweep of errx/warnx, remove unnecessary trailing \n

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 18 20:04:49 2002 UTC (22 years, 8 months ago) by thorpej
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
Cast 3rd arg to el_parse() to deal with const'ification of
libedit.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Feb 19 22:56:19 2001 UTC (23 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -6 lines
convert to use getprogname()

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Feb 4 21:29:32 2001 UTC (23 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
remove redundant declarations

Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Wed Oct 18 00:39:45 2000 UTC (24 years, 1 month ago) by tv
Branches: 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
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 10 22:25:02 2000 UTC (24 years, 2 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pull up revision 1.17 (requested by is):
  Format string cleanup.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Oct 10 20:24:52 2000 UTC (24 years, 2 months ago) by is
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Format string cleanups by Bill Sommerfeld.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 9 16:11:47 1999 UTC (25 years, 9 months ago) by bouyer
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +95 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed May 20 10:01:11 1998 UTC (26 years, 6 months ago) by enami
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
s/H_SETMAXSIZE/H_SETSIZE/

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 20 00:58:05 1998 UTC (26 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Adapt to the libedit changes.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 1 16:04:21 1998 UTC (26 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
Need <time.h> for mktime() prototype.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:03:15 1998 UTC (26 years, 8 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +37 -37 lines
Add support for non-native byteorder FFS.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Oct 14 15:06:59 1997 UTC (27 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -4 lines
PR/4257: Jaromir Dolecek: Update for libedit interface change.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Sep 15 01:45:36 1997 UTC (27 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6 lines
deprecate register

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Sep 14 14:56:58 1997 UTC (27 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +576 -579 lines
* KNF-ify
* prefix hex numbers with '0x'

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 31 00:21:55 1997 UTC (27 years, 4 months ago) by jtc
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Fix files using old TNF copyright notice

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 11 06:50:53 1997 UTC (27 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -8 lines
don't call el_parse() if there's no commands (el_parse() now checks this,
but more safety is good)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 11 20:22:43 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +25 -2 lines
Add a chlen command, to change the length/size of an inode.  From FreeBSD.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Sep 28 19:30:35 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +50 -47 lines
Make this work after the fsck changes.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Mar 21 17:56:15 1996 UTC (28 years, 8 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Be pedantic, main() returns int in C.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 27 22:28:12 1996 UTC (28 years, 9 months ago) by jtc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +35 -27 lines
Copyright assigned to the NetBSD Foundation

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Oct 8 23:18:10 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +47 -32 lines
A teensy bit of really minor cleanup.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Oct 8 23:08:36 1995 UTC (29 years, 2 months ago) by thorpej
Branches: kohl
CVS tags: fsdb-951007
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
FFS debugging/editing tool, from John Kohl.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 8 23:08:36 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>