| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
on valid superblocks instead of issuing the error "not a BSD filesystem".
fs_sblockloc is a byte offset, not a fragment number. This change makes
quot work properly on UFS2 filesystems, which is important now that UFS2
is the default.
|
| |
|
|
|
|
| |
Use `Force' in place of `Cause' which sounds better.
|
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
on LP64 hosts
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
| |
PR: bin/32567
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 10158
Submitted by: Remy Card <card@ens.uvsq.fr>
MFC after: 2 weeks
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
| |
not just the device.
|
|
|
|
| |
Use _PATH_* where where possible.
|
| |
|
| |
|
|
|
|
| |
the string "FreeBSD". Use the .Fx macro instead.
|
|
|
|
| |
spelling of printed messages.
|
| |
|
|
|
|
|
| |
Fixed intermediate calculation overflow when reporting users with > 2GB of
disk space.
|
|
|
|
|
|
| |
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
|
|
|
|
|
|
|
|
|
| |
and the pre-Lite2 vfsconf interfaces.
For quot, just back out revs. 1.1 and 1.2 and change MNT_FFS to
"ufs", so that vfsconf isn't used at all. Revs. 1.1 and 1.2 were
hacks to get around f_fstypename not being in `struct statfs' in
Lite1.
|
| |
|
| |
|
|
|
|
|
| |
PR: 4246
Obtained from: review of PR and NetBSD sources.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
| |
|
|
|
|
|
|
| |
a perfectly good getvfsbyname("ufs").. :-)
Pointed out by: wollman and bde
|
|
|
|
| |
Basically back-port the dynamic fsname strings back to static constants.
|
|
|
|
|
|
| |
(We only have the man page...)
Obtained from: NetBSD; Wolfgang Solfrank / TooLs GmbH.
|
|
|