freebsd-skq/include
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
..
arpa Prepend BIG_ENDIAN, BYTE_ORDER, LITTLE_ENDIAN, and PDP_ENDIAN with an 2002-05-28 04:32:25 +00:00
protocols This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
rpc Added new bsd.incs.mk which handles installing of header files 2002-05-12 16:01:00 +00:00
rpcsvc Assume __STDC__, remove non-__STDC__ code. 2002-05-28 16:56:14 +00:00
_ctype.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
a.out.h
ar.h
assert.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
bitstring.h
complex.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
ctype.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
db.h Fixed some style bugs in the removal of __P(()). Some function parameter 2002-03-26 01:35:05 +00:00
dirent.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
dlfcn.h Since POSIX gives us plenary authority to define _t types, change 2002-05-29 19:35:13 +00:00
elf-hints.h
elf.h
err.h Join continuation lines that fit in 80 columns after removal of __P(()). 2002-03-26 01:37:03 +00:00
fnmatch.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
fstab.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
fts.h Fixed some style bugs in the removal of __P(()). Some function parameter 2002-03-26 01:35:05 +00:00
glob.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
grp.h Include <sys/_types.h>. This should have been part of the previous 2002-04-15 03:33:27 +00:00
hesiod.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
histedit.h Restore local bits lost in recent merge from NetBSD. 2002-06-16 08:29:35 +00:00
ieeefp.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
ifaddrs.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
inttypes.h
iso646.h
kenv.h Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
langinfo.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
libgen.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
limits.h
link.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
locale.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
Makefile Move dillon's time conversion functions to a new header <timeconv.h>. 2002-06-17 01:42:33 +00:00
malloc.h
math.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
memory.h
monetary.h
mpool.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
ndbm.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
netconfig.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
netdb.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
nl_types.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
nlist.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
nsswitch.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
objformat.h
paths.h Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h. 2002-05-17 11:47:12 +00:00
pthread_np.h Reorder prototypes to be in alphabetical order. 2002-05-24 04:35:55 +00:00
pthread.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
pwd.h o Remove include of <sys/types.h>, it adds too much pollution; 2002-06-09 19:39:18 +00:00
ranlib.h
readpassphrase.h Synch with OpenBSD (style). 2002-03-08 20:52:52 +00:00
regex.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
regexp.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
resolv.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
rune.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
runetype.h Fixed some style bugs in the removal of __P(()). Some function parameter 2002-03-26 01:35:05 +00:00
search.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
setjmp.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
sgtty.h
signal.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
stab.h
stdbool.h Guard definitions for use with C++ code. 2002-06-19 06:04:37 +00:00
stddef.h
stdio.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
stdlib.h Const poison. 2002-05-30 21:59:16 +00:00
strhash.h
string.h Add support for X/Open. 2002-04-15 03:21:21 +00:00
stringlist.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
strings.h o Move some function prototypes from <string.h> to the newly rewritten 2002-04-04 05:41:57 +00:00
sysexits.h
tar.h
time.h Move dillon's time conversion functions to a new header <timeconv.h>. 2002-06-17 01:42:33 +00:00
timeconv.h Move dillon's time conversion functions to a new header <timeconv.h>. 2002-06-17 01:42:33 +00:00
timers.h
ttyent.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
unistd.h Partially fix namespace visibility issues by using new visibility macros. 2002-06-15 23:35:37 +00:00
utime.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
utmp.h
vis.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
wchar.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
wctype.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00