NetBSD/sbin/fsck_lfs
dholland eb2560adae The ifile's inode number is constant. (it is always 1)
Therefore, storing the value in the superblock and reading it out
again is silly and offers the opportunity for it to become corrupted.
So, don't do that (most of the code already didn't) and use the
existing constant instead. Initialize new 32-bit superblocks with
the value for the sake of old userland programs, but don't keep the
value in the 64-bit superblock at all.

(approved by Margo Seltzer)
2015-09-01 06:12:04 +00:00
..
bufcache.c - Fix fallout for recent bread() change (removing cred arg). 2015-03-29 19:35:58 +00:00
bufcache.h - Fix fallout for recent bread() change (removing cred arg). 2015-03-29 19:35:58 +00:00
dir.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
extern.h Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
fsck_lfs.8 Revert version 1.111 of sysinst/disks.c, which caused sysinst to 2014-07-12 16:11:27 +00:00
fsck_vars.h Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
fsck.h Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
inode.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
kernelops.c
kernelops.h
lfs_user.h Part two of dinodes; use the same union everywhere. 2015-08-19 20:33:29 +00:00
lfs.c The ifile's inode number is constant. (it is always 1) 2015-09-01 06:12:04 +00:00
main.c Add a new lfs header file: lfs_accessors.h. 2015-07-28 05:09:34 +00:00
Makefile Redo these changes properly: 2013-06-08 21:13:19 +00:00
pass0.c Make the inode fields in the 64-bit superblock 64 bits wide. 2015-09-01 06:11:06 +00:00
pass1.c The ifile's inode number is constant. (it is always 1) 2015-09-01 06:12:04 +00:00
pass2.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
pass3.c Tidy up the LFS userland build hacks. 2013-06-08 02:16:03 +00:00
pass4.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
pass5.c Use intmax_t to print daddr_t; from sevan@. 2015-08-03 04:16:10 +00:00
pass6.c The ifile's inode number is constant. (it is always 1) 2015-09-01 06:12:04 +00:00
segwrite.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
segwrite.h Provide 32-bit and 64-bit versions of FINFO. 2015-08-12 18:27:01 +00:00
setup.c The ifile's inode number is constant. (it is always 1) 2015-09-01 06:12:04 +00:00
utilities.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
vars.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
vnode.c Part two of dinodes; use the same union everywhere. 2015-08-19 20:33:29 +00:00
vnode.h