NEWFS(8) — MAINTENANCE COMMANDS
NAME
newfs − construct a new file system
SYNOPSIS
/etc/newfs [ −v ] [ −n ] [ mkfs-options ] special [ disk-type ]
DESCRIPTION
Newfs is a “friendly” front-end to the mkfs(8) program. On the VAX, newfs will look up the type of disk a file system is being created on in the disk description file /etc/disktab; on the Sun the disk type is determined by reading the disk label. Newfs then calculates the appropriate parameters to use in calling mkfs, then builds the file system by forking mkfs and, if the file system is a root partition, installs the necessary bootstrap programs in the initial 16 sectors of the device.
OPTIONS
−n Do not install the bootstrap programs.
−v newfs prints out its actions, including the parameters passed to mkfs.
Options which may be used to override default parameters passed to mkfs are:
−s size The size of the file system in sectors.
−b block-size
The block size of the file system in bytes.
−f frag-size
The fragment size of the file system in bytes.
−t #tracks/cylinder
−c #cylinders/group
The number of cylinders per cylinder group in a file system. The default value used is 16.
−m free space %
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).
FILES
/etc/disktabfor disk geometry and file partition information (VAX only)
/etc/mkfsto actually build the file system
/usr/mdecfor boot strapping programs
SEE ALSO
The Sun UNIX File System in the Sun System Internals Manual.
Sun Release 3.0β — Last change: 1 February 1985