freebsd-dev/sbin
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
..
adjkerntz more file system > filesystem 2002-05-16 04:10:46 +00:00
atacontrol mdoc(7) police: tidy up the markup. 2002-05-29 16:14:00 +00:00
atm Use a larger data type to prevent counters wrapping so quickly. 2002-06-07 05:29:13 +00:00
badsect This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
bsdlabel Oops, unbreak parsing of the `type' field in getasciilabel(). I had 2002-06-05 08:11:28 +00:00
camcontrol Fix syntax errors (labels with no statement). 2002-05-30 21:38:58 +00:00
ccdconfig o __P removal. 2002-03-18 05:00:52 +00:00
clri This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
comcontrol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
conscontrol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
cxconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
dhclient Removed now unused INTERNALSTATICLIB. 2002-05-13 11:09:07 +00:00
disklabel Oops, unbreak parsing of the `type' field in getasciilabel(). I had 2002-06-05 08:11:28 +00:00
dmesg o Remove __P 2002-03-19 13:29:39 +00:00
dump This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
dumpfs This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
dumpon unbreak build: include string.h for strcmp prototype. 2002-05-11 03:07:38 +00:00
fdisk mdoc(7) police: tidy up the markup and some wording. 2002-05-30 09:41:33 +00:00
fdisk_pc98 Add missing \ before an 'n' to get the proper newline when running 2002-03-27 06:20:20 +00:00
ffsinfo mdoc(7) police: nits. 2002-05-29 16:47:55 +00:00
fsck more file system > filesystem 2002-05-16 04:10:46 +00:00
fsck_ffs This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
fsck_msdosfs more file system > filesystem 2002-05-16 04:10:46 +00:00
fsdb This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
fsirand This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
growfs This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
ifconfig Add eui64 option which fills interface index (lowermost 64bit of 2002-06-15 15:35:24 +00:00
init o remove __P 2002-03-20 22:53:13 +00:00
ip6fw Fix typos (s/IP6FILREWALL_VERBOSE/IPV6FIREWALL_VERBOSE/, s/netinet/netinet6/). 2002-05-30 07:01:58 +00:00
ipf * add extra -I path to get the "matching" header files. 2002-03-20 09:02:48 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Hopefully fix make world. 2002-03-19 22:51:53 +00:00
ipfw Handle symbolic names for common ethernet types (ip, arp etc.) 2002-05-13 10:19:59 +00:00
ipmon * add extra -I path to get the "matching" header files. (and split the one 2002-03-20 09:04:34 +00:00
ipnat * need to compile printnat.c now that this function is in a separate .c file 2002-03-20 09:01:48 +00:00
kldconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldload Add 'utility' in a place that it was missing. 2002-06-05 23:39:56 +00:00
kldstat Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldunload Default to WARNS=2. 2001-12-04 02:19:58 +00:00
ldconfig o __P removed 2002-03-21 13:14:21 +00:00
md5 Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
mdconfig Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
mdmfs Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
mknod Minor English fixes. 2002-03-10 08:50:53 +00:00
mount more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_cd9660 mdoc(7) police: misc fixes. 2002-03-15 14:56:53 +00:00
mount_ext2fs Convert mount_ext2fs(8) to nmount(2). 2002-05-24 17:39:37 +00:00
mount_hpfs more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_msdosfs more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_nfs more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_ntfs more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_nullfs Make mount_nullfs(8) use nmount(2) rather than mount(2) now 2002-05-23 23:08:27 +00:00
mount_nwfs mdoc(7) police: nits. 2002-05-29 16:47:55 +00:00
mount_portalfs o __P removed 2002-03-21 13:14:21 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mount_std more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_udf Convert UDF to nmount. 2002-06-15 22:40:13 +00:00
mount_umapfs more file system > filesystem 2002-05-16 04:10:46 +00:00
mount_unionfs nmount'ify unionfs further by using separate options instead 2002-06-15 22:48:14 +00:00
mountd more file system > filesystem 2002-05-16 04:10:46 +00:00
natd I don't know what the MAINTAINER means in src/ part of FreeBSD. 2002-04-12 19:11:09 +00:00
newfs This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
newfs_msdos more file system > filesystem 2002-05-16 04:10:46 +00:00
nfsd Fix spelling nit in error message. 2002-06-05 01:06:33 +00:00
nfsiod mdoc(7) police: nits. 2002-05-29 16:47:55 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nos-tun o remove __P 2002-03-21 13:20:49 +00:00
ping WARNS fixes. 2002-04-02 10:15:32 +00:00
ping6 o remove __P 2002-03-21 13:20:49 +00:00
quotacheck This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
rcorder FreeBSDize the NetBSD Makefile so that this compiles. 2002-06-13 17:09:30 +00:00
reboot mdoc(7) police: nits. 2002-05-29 16:47:55 +00:00
restore This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
route Don't have -prefixlen 128 on host routes. 2002-06-08 19:49:22 +00:00
routed Add the possibility to use a no_rip_out configuration option in order 2002-04-07 17:01:20 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore Fix breakage caused by allocating the I/O buffer. There was a 2002-06-02 19:20:37 +00:00
setkey Don't install scriptdump which is written in Perl. This is 2002-05-16 15:44:08 +00:00
shutdown Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h. 2002-05-17 11:47:12 +00:00
slattach s/demon/daemon/ 2002-05-12 00:22:38 +00:00
spppcontrol mdoc(7) police: tidy up the markup. 2002-01-10 16:02:23 +00:00
startslip Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
swapon o remove __P 2002-03-21 13:20:49 +00:00
sysctl Don't err(3) (and exit prematurely) when a sysctl's object size has 2002-05-24 08:34:18 +00:00
tunefs This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
umount more file system > filesystem 2002-05-16 04:10:46 +00:00
vinum ANSIfy a few prototypes, thus fixing a few warnings. 2002-06-09 02:20:58 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00