Sun Microsystems Sun Workstation 100U System Manager's Manual page 208

Table of Contents

Advertisement

MKFS(8)
MAINTENANCE COMMANDS
MKFS(8)
NAME
mkfs - construct a file system
SYNOPSIS
/ete/mkll special size ( nsect
I [
ntrack
I [
blksize
I [
fragsize
I [
ncpg
I [
minfree
I [
rpsl
DESCRIPTION
N.B.I file system are normally created with the new!B(8) command.
Mk/8 constructs a file system by writing on the special file Bpecial. The numeric size specifies the
number of sectors in the file system. Mlcf8 builds a file system with a root directory and a
10Bt+ found directory (see fBclc(8». The number of i-nodes is calculated as a function of the file
system size. No boot program is initialized by mk/B (see newfB(8».
OPTIONS
The optional arguments allow fine tune control over the parameters of the file system.
Nleet specify the number of sectors per track on the disk.
Ntrack
Blkllze
specify the number of tracks per cylinder on the disk.
gives the prima.ry block size for files on the file system. It must be a power of two,
currently selected from 4096 or 8192.
FraSllse
gives the fragment size (or files on the file system. The Irasslze represents the smallest
amount of disk space that will be allocated to a file. It must be a power of two currently
selected from the range 512 to 8192.
Neps specifies the number of disk cylinders per cylinder group. This number must be in the
range 1 to 32.
Mlnlree
specifies the minimum percentage of free disk space allowed. Once the file system capa-
city reaches this threshold, only the super-user is allowed to alloca.te disk blocks. The
default value is 10%.
rpa
It
a disk does not revolve at 60 revolutions per second, this
param~ter
may be specified.
Users with special demands for their file systems are referred to the paper cited below for a dis-
cussion of the tradeoffs in using different configurations.
SEE ALSO
fs(5), dir(5), fsck(8), newfs(8), tunefs(8)
McKusick, Joy, Lemer; A Fast File SY8tem for Uniz, Computer Systems Research Group, Dept of
EECS, Berkeley, CA 94720;
Sun
Rele~,
1.1
I
Last change:
Tl
March 1983"
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents