Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(8) — SunOS 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(5)

fsck(8)

tunefs(8)

NEWFS(8)  —  System Manager’s Manual — 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 calculate the appropriate parameters to use in calling mkfs, then build the file system by forking mkfs and, if the file system is a root partition, install the necessary bootstrap programs in the initial 16 sectors of the device. 

OPTIONS

−n Do not instal 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

fs(5), fsck(8), tunefs(8)

McKusick, Joy, Leffler; "A Fast File System for Unix", Computer Systems Research Group, Dept of EECS, Berkeley, CA 94720; TR #7, September 1982. 

Sun System Release 1.0  —  28 October 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026