freebsd-skq/release/picobsd
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
..
bridge Record libtelnet.a death. 2002-04-19 12:39:09 +00:00
build This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
dial sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
doc/src pseudo-device -> device in kernel config. 2001-05-01 10:52:50 +00:00
floppy.tree/etc Fix handling of undefined variables. 2002-04-07 20:41:09 +00:00
help mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 12:06:06 +00:00
isp Record libtelnet.a death. 2002-04-19 12:39:09 +00:00
mfs_tree sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
net sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
router sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
tinyware Add a few files which are needed to build "passwd" now that 2002-06-20 21:17:33 +00:00
README.html $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Version Bump version to 0.500 -- not that it means much, but at least 2001-02-18 06:46:20 +00:00

<html>
<body>
<h1><b><center>           PicoBSD Development Kit      </center></b></h1>

<p>All documentation, instructions, list of supported hardware and FAQ are
in doc/ directory. If they are missing, go to the doc/src/ subdirectory and
do a 'make'. The docs are marked with HTML tags, but we try to keep
them readable even without a browser.

<p>Please start from <A HREF="doc/intro.html">here</a> for general
description of the project and its features, or just go directly
<A HREF="doc/how2build.html">here</a> for detailed instructions on how to
build your version of PicoBSD.

<p>Enjoy!</p>

<! $FreeBSD$ >
</body>
</html>