Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(1M) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dp(1M)

fsck(1M)

fsirand(1M)

tunefs(1M)

dpme(4)

tab(4)

ufs(4)

gd(7)




newfs(1M) newfs(1M)
NAME newfs - construct a new UFS file system SYNOPSIS /etc/newfs [-v] [options] device-file type DESCRIPTION newfs constructs a Berkeley 4.2 file system (UFS) on device-file, which is the device-file on which the new file system is to be created. The argument type indicates the disk type; this type is used to find the appropriate disk name entry in /etc/disktab. The newfs command consults the disk label for disk partition information and /etc/disktab for disk architecture information, calculates the appropri- ate parameters to use in calling mkfs, and then builds the file system by invoking mkfs. If the -v option is supplied, newfs prints out its actions, including the parameters passed to mkfs. newfs uses fsirand as a security precaution. Options that may be used to override default parameters passed to mkfs are: -s size Specify the size of the file system in sectors. If this option is not present, the size information from the disk partition map will be used. See dpme(4). -b block-size Specify the block size of the file system in bytes. The default value is 4096. -f frag-size Specify the fragment size of the file system in bytes. The default value is 1024. -t tracks-per-cylinder Specify the number of tracks per cylinder, which is equivalent to the number of heads on the disk drive. If this option is not present, the information from /etc/disktab is used. -c cylinders-per-group Specify the number of cylinders per cylinder group in a file system. The default value is 16. -m free-space Specify the percentage of space reserved from use by normal users. This value is known as the free-space threshold for the file system. The default value is April, 1990 1



newfs(1M) newfs(1M)
10%. This value can be changed later using tunefs(1M). -r revolutions-per-minute Specify the speed of the disk in revolutions per minute (usually 3600). -i number of bytes per inode Specify the density of inodes in the file system. The default is to create an inode for each 2048 bytes of data space. If few inodes are desired, a larger bytes-per-inode should be specified. If many inodes are desired, a smaller bytes-per-inode should be speci- fied. FILES /etc/newfs /etc/fs/ufs/mkfs Actually builds the file system. SEE ALSO dp(1M), fsck(1M), fsirand(1M), tunefs(1M), dpme(4), disk- tab(4), ufs(4), gd(7). 2 April, 1990

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