Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(8) — SunOS 0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(5)

fsck(8)

format(8)

NEWFS(8)  —  System Manager’s Manual — Maintenance Commands

NAME

newfs − construct a new file system

SYNOPSIS

/etc/newfs [ −v ] [ mkfs-options ] special disk-type

DESCRIPTION

Newfs is a ‘friendly’ front-end to the mkfs(8) program. Newfs looks up the type of disk a file system is being created on in the disk description file /etc/disktab, 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 8 sectors of the device. 

If the −v option is supplied, newfs prints out its actions, including the parameters passed to mkfs.

Options which may be used to override default parameters passed to mkfs are:

−ssize The size of the file system in sectors. 

−bblock-size
The block size of the file system in bytes.

−ffrag-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.

−mfreespace%
The percentage of space reserved from normal users; the minimum free space threshhold.  The default value used is 10%.

−rrevolutions/minute
The speed of the disk in revolutions per minute (normally 3600).

−Ssector-size
The size of a sector in bytes (almost never anything but 512). /etc/disktabfor disk geometry and file system partition information
/etc/mkfsto actually build the file system
/usr/mdecfor boot strapping programs

SEE ALSO

fs(5), fsck(8), format(8)

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

BUGS

Should figure out the type of the disk without the user’s help. 

Sun System Release 0.3  —  21 April 1983

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