freebsd-dev/sys/boot/i386/libi386
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
..
aout_freebsd.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
biosacpi.c Teach the loader how to find the system ACPI information, and autoload 2001-08-30 00:42:12 +00:00
bioscd.c DEV_BSIZE lives in sys/param.h and not in machine/param.h anymore. 2002-05-15 11:32:53 +00:00
biosdisk.c Add support for writing to BIOS disks. 2001-12-11 00:08:10 +00:00
biosmem.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
biospci.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
biospnp.c Fix one of the va_arg() with less than int sized type probelms. 2002-05-18 09:12:32 +00:00
bootinfo32.c Add boot_serial and boot_multicons variables to set RB_SERIAL and 2002-06-20 06:29:42 +00:00
bootinfo64.c Add boot_serial and boot_multicons variables to set RB_SERIAL and 2002-06-20 06:29:42 +00:00
bootinfo.c Add boot_serial and boot_multicons variables to set RB_SERIAL and 2002-06-20 06:29:42 +00:00
comconsole.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
devicename.c Add a device driver for the BIOS device for CD-ROM's booted via El Torito 2001-11-05 18:58:33 +00:00
elf32_freebsd.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
elf64_freebsd.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
elf_freebsd.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
gatea20.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
i386_copy.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
i386_module.c Implement the long-awaited module->file cache database. A userland 2001-09-11 01:09:24 +00:00
libi386.h Add a device driver for the BIOS device for CD-ROM's booted via El Torito 2001-11-05 18:58:33 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
nullconsole.c Add support for the "nullconsole" console type, for systems with 2000-09-20 18:13:36 +00:00
pread.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pxe.c Don't set the gateway address if the netmask is zero or we're on 2001-03-14 23:53:25 +00:00
pxe.h Add support to send the string 'PXEClient' as the Vendor class 2000-08-11 08:36:17 +00:00
pxetramp.s Whitespace fixes. 2001-10-04 10:18:00 +00:00
time.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
vidconsole.c Fix the ANSI color escape sequence \E[m. 2001-10-02 13:11:35 +00:00