freebsd-skq/release
Kirk McKusick 1c85e6a35d This commit adds basic support for the UFS2 filesystem. The UFS2
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.

Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.

Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).

Sponsored by: DARPA & NAI Labs.
Reviewed by:	Poul-Henning Kamp <phk@freebsd.org>
2002-06-21 06:18:05 +00:00
..
alpha Update a comment to accurately describe the usage of the fourth field 2002-05-01 05:05:31 +00:00
amd64 Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
doc New release notes: gifconfig(8) gone, prefix(8) gone. 2002-06-21 04:17:00 +00:00
i386 Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
pc98 Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
picobsd This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
scripts Check the run dependencies, not the build dependencies 2002-06-10 00:46:29 +00:00
texts Make it more obvious where to find RELNOTESng source files if someone went 2002-03-06 07:59:18 +00:00
fixit.profile Don't assume fixit media is a floppy disk. 2001-10-29 16:13:29 +00:00
fixit.services $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile Set PATH statically, and use 'env -i' to kick chroot(8). As a result, 2002-06-19 15:06:38 +00:00
Makefile.inc.docports Add devel/bison and textproc/xhtml ports to the set of ports required 2002-05-17 23:59:53 +00:00