newfs(1M) newfs(1M)
NAME
newfs - construct a new file system
SYNOPSIS
/sbin/newfs [-N] [-v] [mkfsoptions] special
DESCRIPTION
newfs is a "friendly" front-end to the mkfs(1M) program. newfs will
gather information on the type of disk a file system is being created,
and calculate the appropriate parameters to use in calling mkfs. It
then builds the file system by forking mkfs and fsirand. special must
be a special character device file (for example,
/dev/ios0/rsdisk000s1).
OPTIONS
These options override the default actions taken by newfs:
-N Causes the file system parameters to be printed out without
actually creating the file system.
-v Causes newfs to print out its actions, including the parame-
ters passed to mkfs.
The file system specific mkfsoptions used to override default parame-
ters passed to mkfs are:
-f fragsize
The fragment size of the file system in bytes.
-b bsize
The block size of the file system in bytes.
-m minfree
The percentage of space reserved from normal users; the
minimum free space threshold. The default value used is 10%.
-c cgsize
The number of cylinders per cylinder group in a file system.
The default value used is 16.
-i nbpi This specifies the density of inodes in the file system. The
default is to try to create an inode for each 2048 bytes of
data space. If fewer inodes are desired, a larger number
should be used; to create more inodes, a smaller number should
be given. See mkfs(1M) for further information.
-o opt The optimization for the file system. It can be either space
or time.
The disk drive specific mkfsoptions used to override default parame-
ters passed to mkfs are:
Page 1 Reliant UNIX 5.44 Printed 11/98
newfs(1M) newfs(1M)
-s nsect
The size of the file system in sectors.
-t ntrack
The number of a tracks per cylinder on the disk.
-r rpm The speed of the disk in revolutions per minute (normally
3600).
-d gap The rotational delay (or gap) for the file system.
-a apc The number of alternate sectors per cylinder.
-S secsize
The sector size derived from the device during initial drive
format. The default for this is 512 bytes for SCSI drives.
-q This causes the mkfs -f option to be set. This causes mkfs to
skip the 10 second delay.
NOTES
This command may not be supported for all FSTypes.
FILES
/etc/vfstab
list of default parameters for each file system
SEE ALSO
fsirand(1), vfstab(4).
Manual pages for the FSType-specific modules of mkfs.
Page 2 Reliant UNIX 5.44 Printed 11/98