Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(1M) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck[HFS](1M)

mkfs[HFS](1M)

tunefs[HFS](1M)

disktab[HFS](4)

fs[HFS](4)

NEWFS[HFS](1M)  —  HP-UX

Series 200, 300, 800 Only

NAME

newfs − construct a new file system

SYNOPSIS

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

DESCRIPTION

Newfs is a “friendly” front-end to the mkfs(1M) program. Newfs will look 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 section, install the necessary bootstrap programs in the initial 8192 bytes of the device.  The −n option prevents the bootstrap programs from being installed.  special is the character special file for the disk and disk-type is the type of the disk as specified in /etc/disktab. 

If the −v option is supplied, newfs will print 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 DEV_BSIZE blocks. 

−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
The number of tracks per 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 threshold.  The default value used is 10%.

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

−i number of bytes per 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.

FILES

/etc/disktabfor disk geometry and file system section information

HARDWARE DEPENDENCIES

The HFS file system is implemented on Series 200 beginning with HP-UX Release 5.0, and on Series 300 and Series 800. 

Series 800
Newfs will not install bootstrap programs in a root section since the boot programs are kept in a separate section. 

AUTHOR

Newfs was developed by the University of California, Berkeley. 

SEE ALSO

fsck[HFS](1M), mkfs[HFS](1M), tunefs[HFS](1M), disktab[HFS](4), fs[HFS](4). 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

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