mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
1c85e6a35d
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>
41 lines
1010 B
Makefile
41 lines
1010 B
Makefile
# $FreeBSD$
|
|
# @(#)Makefile 8.1 (Berkeley) 6/11/93
|
|
|
|
# Makefile for i386 links, tags file
|
|
|
|
# SYS is normally set in Make.tags.inc
|
|
# SYS=/sys
|
|
SYS=/nsys
|
|
|
|
TAGDIR= i386
|
|
|
|
.include "../kern/Make.tags.inc"
|
|
|
|
all:
|
|
@echo "make links or tags only"
|
|
|
|
# Directories in which to place i386 tags links
|
|
DI386= apm i386 ibcs2 include isa linux
|
|
|
|
links::
|
|
-for i in ${COMMDIR1}; do \
|
|
(cd $$i && { rm -f tags; ln -s ../${TAGDIR}/tags tags; }) done
|
|
-for i in ${COMMDIR2}; do \
|
|
(cd $$i && { rm -f tags; ln -s ../../${TAGDIR}/tags tags; }) done
|
|
-for i in ${DI386}; do \
|
|
(cd $$i && { rm -f tags; ln -s ../tags tags; }) done
|
|
|
|
SI386= ${SYS}/i386/apm/*.[ch] \
|
|
${SYS}/i386/i386/*.[ch] ${SYS}/i386/ibcs2/*.[ch] \
|
|
${SYS}/i386/include/*.[ch] ${SYS}/i386/isa/*.[ch] \
|
|
${SYS}/i386/linux/*.[ch]
|
|
AI386= ${SYS}/i386/i386/*.s
|
|
|
|
tags::
|
|
-ctags -wdt ${COMM} ${SI386}
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
>> tags
|
|
sort -o tags tags
|
|
chmod 444 tags
|