NEWFS(8) COMMAND REFERENCE NEWFS(8) NAME newfs - construct a new file system SYNOPSIS /etc/newfs [ -v ] [ -F ] [ mkfs-options ] special DESCRIPTION The newfs program is a friendly front-end to the mkfs(8) program. The information that mkfs needs is available from header information put on the disk when it was formatted. Using the argument special to find that information to format the parameters for use in calling mkfs, newfs then builds the file system by running mkfs. Special is the special file on which the file system is to be mounted; it will typically be a partition of a disk (e.g., /dev/ds06a). The disk must have previously been formatted using scsifmt(8) or its equivalent in the Stand- alone Utilities Package. The newfs program must be run as superuser, since it must write to an entire file system. Only under extraordinary circumstances will a user need to use any of the options below to override normal operation. 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 listed here: -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 Printed 4/6/89 1
NEWFS(8) COMMAND REFERENCE NEWFS(8) 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% -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 build the file system 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), fsck(8), mkfs(8), scsifmt(8), and tunefs(8). Printed 4/6/89 2
%%index%% na:264,87; sy:351,419; de:770,1319; op:2089,1494;3919,820; fi:4739,111; rv:4850,461; se:5311,209; %%index%%000000000131