NetBSD/sbin/fsck_lfs
perseant 4e3fced95b Merge the short-lived perseant-lfsv2 branch into the trunk.
Kernels and tools understand both v1 and v2 filesystems; newfs_lfs
generates v2 by default.  Changes for the v2 layout include:

- Segments of non-PO2 size and arbitrary block offset, so these can be
  matched to convenient physical characteristics of the partition (e.g.,
  stripe or track size and offset).

- Address by fragment instead of by disk sector, paving the way for
  non-512-byte-sector devices.  In theory fragments can be as large
  as you like, though in reality they must be smaller than MAXBSIZE in size.

- Use serial number and filesystem identifier to ensure that roll-forward
  doesn't get old data and think it's new.  Roll-forward is enabled for
  v2 filesystems, though not for v1 filesystems by default.

- The inode free list is now a tailq, paving the way for undelete (undelete
  is not yet implemented, but can be without further non-backwards-compatible
  changes to disk structures).

- Inode atime information is kept in the Ifile, instead of on the inode;
  that is, the inode is never written *just* because atime was changed.
  Because of this the inodes remain near the file data on the disk, rather
  than wandering all over as the disk is read repeatedly.  This speeds up
  repeated reads by a small but noticeable amount.

Other changes of note include:

- The ifile written by newfs_lfs can now be of arbitrary length, it is no
  longer restricted to a single indirect block.

- Fixed an old bug where ctime was changed every time a vnode was created.
  I need to look more closely to make sure that the times are only updated
  during write(2) and friends, not after-the-fact during a segment write,
  and certainly not by the cleaner.
2001-07-13 20:30:18 +00:00
..
Makefile Disable VERBOSE_BLOCKMAP by default; it allocates huge amounts of 2000-10-19 14:58:40 +00:00
dir.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
extern.h
fsck.h
fsck_lfs.8 Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
fsck_vars.h
inode.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
main.c convert to use getprogname() 2001-02-19 22:48:57 +00:00
pass0.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
pass1.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
pass2.c
pass3.c
pass4.c Fixed blockmap handling to properly use disk blocks rather than fragments. 2001-01-06 23:08:24 +00:00
pass5.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
setup.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
utilities.c Merge the short-lived perseant-lfsv2 branch into the trunk. 2001-07-13 20:30:18 +00:00
vars.c fix redundant decls 2001-02-04 21:52:02 +00:00