diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-12-03 22:25:47 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-12-03 22:25:47 +0000 |
commit | 7df36e7050d668954254dfbc385eabcb706e1e34 (patch) | |
tree | a476abe9eff91a0f04e8f6b23f1bca03960ea984 /usr.sbin/sade/help | |
parent | 1d704c21dc2b4a5dac9c13d406a91876f3c63e70 (diff) | |
download | FreeBSD-src-7df36e7050d668954254dfbc385eabcb706e1e34.zip FreeBSD-src-7df36e7050d668954254dfbc385eabcb706e1e34.tar.gz |
Reformulate how sysinstall handles file system options in the label
editor, in order to support specifying UFS2 as a newfs option.
(1) Support three different newfs types: NEWFS_UFS, NEWFS_MSDOS, and
NEWFS_CUSTOM. Don't mix up the arguments to them: you can't use
soft updates on an msdos file system.
(2) Distinguish adding new arguments to the newfs command line from
replacing it. Permit the addition of new arguments by the user for
NEWFS_UFS. If we entirely replace the command line provided by
sysinstall, call it NEWFS_CUSTOM. 'N' will now add additional
arguments; 'Z' will opt to replace the newfs command line entirely,
but will prompt the user with their current command line as a
starting point.
(3) Construct the newfs command line dynamically based on the options
provided by the user at label-time. Right now, this means selecting
UFS1 vs. UFS2, and the soft updates flag. Drop in some variables
to support ACLs and MAC Multilabel in the future also, but don't
expose them now.
This provides sysinstall with the ability to do more "in band" editing
of the newfs command line, so we can provide more support for the user,
but doesn't sacrifice the ability to entirely specify the newfs command
line of the user is willing to give up on the cushiness factor. It
also makes it easier for us to specify defaults in the future, and
define conditional behavior based on user configuration selections.
For now, we default to UFS1, and permit UFS2 to be used as the root
only on non-i386 systems.
While I was there, I dropped the default fragment and block sizes,
since newfs has much more sensible defaults now.
Reviewed by: jhb, marcel
Approved by: re
ia64 bits from: marcel
Diffstat (limited to 'usr.sbin/sade/help')
-rw-r--r-- | usr.sbin/sade/help/partition.hlp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/usr.sbin/sade/help/partition.hlp b/usr.sbin/sade/help/partition.hlp index ef328df..19cfb5a 100644 --- a/usr.sbin/sade/help/partition.hlp +++ b/usr.sbin/sade/help/partition.hlp @@ -126,6 +126,33 @@ with significant activity can temporarily overflow if the soft updates policy results in free'd blocks not being "garbage collected" as fast as they're being requested. +To make use of UFS2, press '2' on a UFS file system to toggle the +on-disk format revision. UFS2 provides native support for extended +attributes, larger disk sizes, and forward compatibility with new +on-disk high performance directory layout and storage extents. +However, UFS2 is unsupported on versions of FreeBSD prior to 5.0, +so it is not recommended for environments requiring backward +compatibility. Also, UFS2 is not currently recommended as a root +file system format for non-64-bit platforms due to increased size +of the boot loader; special local configuration is required to boot +UFS2 as a root file system on i386 and PC98. + +To add additional flags to the newfs command line for UFS file +systems, press 'N'. These options will be specified before the +device argument of the command line, but after any other options +placed there by sysinstall, such as the UFS version and soft +updates flag; as such, arguments provided may override existing +settings. To completely replace the newfs command used by +sysinstall, press 'Z' to convert a partition to a Custom +partition type. Sysinstall will prompt you with the newfs +command line that it would have used based on existing settings +prior to the change, but allow you to modify any aspect of the +command line. Once a partition has been converted to a custom +partition in the label editor, you will need to restart the +labeling process or delete and recreate the partition to restore +it to a non-custom state. Custom partitions are represented by +the letters "CST" instead of "UFS" or "FAT. + When you're done, type `Q' to exit. No actual changes will be made to the disk until you (C)ommit from the |