NEWFS(8) COMMAND REFERENCE NEWFS(8)
NAME
newfs - construct a new file system
SYNOPSIS
/etc/newfs [ -v ] [ -F ] [ mkfs-options ] special
DESCRIPTION
Newfs is a ``friendly'' front-end to the mkfs(8) program.
Newfs will use the argument special to obtain information
about the disk for calculating the appropriate parameters to
use in calling mkfs, then build the file system by forking
mkfs.
Special is the special file (device) on which the file
system is to be mounted.
Newfs must be run as super-user, since it must write to the
file system.
OPTIONS
-v Newfs will print out its actions, including the
parameters passed to mkfs.
-F Newfs will only print warnings, rather than exit, if it
fails to identify the system, or if it discovers the
special file is a swap device.
Mkfs-options which may be used to override default
parameters passed to mkfs are:
-b block-size
The block size of the file system in bytes.
-c #cylinders/group
The number of cylinders per cylinder group in a file
system. The default value used is 16.
-f frag-size
The fragment size of the file system in bytes.
-i bytes/inode
This specifies the density of inodes in the file system.
The default is 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.
-m freespace%
The percentage of space reserved from normal users; the
minimum free space threshhold. The default value used
is 10%.
Printed 10/17/86 1
NEWFS(8) COMMAND REFERENCE NEWFS(8)
-r revolutions/minute
The speed of the disk in revolutions per minute
(normally 3600).
-S sector-size
The size of a sector in bytes (almost never anything but
512).
-s size
The size of the file system in sectors.
-t #tracks/cylinder
The number of tracks per cylinder.
FILES
/etc/mkfs to actually build the file system
/usr/mdec for boot-strapping programs
RETURN VALUE
[NO_ERRS] Command completed without error.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
SEE ALSO
fs(5), format(8), fsck(8), mkfs(8), tunefs(8).
Printed 10/17/86 2
%%index%%
na:72,71;
sy:143,283;
de:426,703;
op:1129,1533;2806,486;
fi:3292,188;
rv:3480,417;
se:3897,178;
%%index%%000000000129