freebsd-skq/sys/boot/common
mckusick 88d85c15ef 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
..
bcache.c Removed mounds of unused variables. 2002-02-25 03:45:09 +00:00
boot.c Implement the long-awaited module->file cache database. A userland 2001-09-11 01:09:24 +00:00
bootstrap.h CG superfluous prototype. 2002-03-10 22:33:04 +00:00
commands.c Print out 'foo devices:' as the line before displaying a group of 2001-11-04 02:58:39 +00:00
console.c
dev_net.c Give the network device a print method. 2000-11-10 06:37:43 +00:00
dev_net.h
devopen.c
help.common The entry for the 'set' command no longer has a list of variables. 2001-12-04 12:01:00 +00:00
interp_backslash.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_forth.c Upgrade FICL to 3.02. Forgot this one, sorry. 2002-04-09 20:59:34 +00:00
interp_parse.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp.c Upper case the FreeBSD loader prompt. 2001-11-19 17:30:26 +00:00
isapnp.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
isapnp.h Remove __P. 2002-03-20 08:00:54 +00:00
load_aout.c Implement the long-awaited module->file cache database. A userland 2001-09-11 01:09:24 +00:00
load_elf.c We don't need bootinfo any more, and sparc64 doesn't have it anyways. 2002-05-10 01:20:37 +00:00
load.c
loader.8 Fix a handful of typos and grammar bogons. No content changes. 2002-05-29 22:57:18 +00:00
ls.c GC unused variable (size) 2000-05-01 18:03:15 +00:00
Makefile.inc Not all platforms have and want a.out format support. 2002-03-28 01:28:21 +00:00
merge_help.awk Initialize first to -1; this will create a (nearly) empty file on failure, 2001-11-07 17:53:25 +00:00
misc.c Delay calling the device cleanup routines until the absolute last 2000-06-14 10:34:29 +00:00
module.c Bandaid for a buffer overrun in the module searching code. When breaking 2002-04-11 10:00:44 +00:00
newvers.sh setlocale(3) has been fixed to match POSIX standard: 2001-03-02 16:52:14 +00:00
panic.c Waits for a keypress before rebooting on panic. 2001-11-28 14:00:36 +00:00
pnp.c Use <sys/queue.h> macro API. 2000-12-30 20:40:16 +00:00
pnpdata
ufsread.c This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00