Date: Tue, 26 Nov 2002 18:18:58 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libufs sblock.c src/sbin/badsect badsect.c src/sbin/clri clri.c src/sbin/dump main.c src/sbin/dumpfs dumpfs.c src/sbin/fsck_ffs fsutil.c setup.c src/sbin/fsirand fsirand.c src/sbin/growfs growfs.c src/sbin/newfs mkfs.c src/sbin/quotacheck ... Message-ID: <200211270218.gAR2IwKJ030871@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2002/11/26 18:18:58 PST Modified files: lib/libufs sblock.c sbin/badsect badsect.c sbin/clri clri.c sbin/dump main.c sbin/dumpfs dumpfs.c sbin/fsck_ffs fsutil.c setup.c sbin/fsirand fsirand.c sbin/growfs growfs.c sbin/newfs mkfs.c sbin/quotacheck quotacheck.c sbin/tunefs tunefs.c sys/boot/common ufsread.c sys/boot/libstand ufs.c sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c fs.h Log: Create a new 32-bit fs_flags word in the superblock. Add code to move the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused flags in fs_old_flags is used to indicate that the flags have been moved. Leave the fs_old_flags word intact so that it will work properly if used on an old kernel. Change the fs_sblockloc superblock location field to be in units of bytes instead of in units of filesystem fragments. The old units did not work properly when the fragment size exceeeded the superblock size (8192). Update old fs_sblockloc values at the same time that the flags are moved. Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.5 +1 -1 src/lib/libufs/sblock.c 1.16 +1 -1 src/sbin/badsect/badsect.c 1.12 +1 -1 src/sbin/clri/clri.c 1.42 +1 -2 src/sbin/dump/main.c 1.27 +1 -1 src/sbin/dumpfs/dumpfs.c 1.19 +2 -2 src/sbin/fsck_ffs/fsutil.c 1.41 +1 -2 src/sbin/fsck_ffs/setup.c 1.12 +1 -2 src/sbin/fsirand/fsirand.c 1.12 +1 -2 src/sbin/growfs/growfs.c 1.65 +6 -6 src/sbin/newfs/mkfs.c 1.20 +1 -2 src/sbin/quotacheck/quotacheck.c 1.33 +1 -1 src/sbin/tunefs/tunefs.c 1.8 +1 -1 src/sys/boot/common/ufsread.c 1.13 +1 -1 src/sys/boot/libstand/ufs.c 1.50 +4 -4 src/sys/ufs/ffs/ffs_snapshot.c 1.197 +15 -8 src/sys/ufs/ffs/ffs_vfsops.c 1.35 +5 -3 src/sys/ufs/ffs/fs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211270218.gAR2IwKJ030871>