ffsmkfs(8) CLIX ffsmkfs(8)
NAME
ffsmkfs - Constructs a file system
SYNOPSIS
/etc/ffsmkfs [-N] special size [nsect [ntrack [blksize [fragsize [ncpg
[minfree [rps [nbpi [s|t]]]]]]]]]
FLAGS
-N Instructs the command to process all arguments and display messages,
without making the file system.
DESCRIPTION
The ffsmkfs command constructs a file system by writing special on the
special file unless the -N flag has been specified. The numeric size
specifies the number of sectors in the file system. The ffsmkfs command
builds a file system with a root directory and a lost+found directory.
(See ffsfsck). The number of inodes is calculated as a function of the
file system size.
The optional arguments allow users to fine tune the parameters of the file
system. The nsect argument specifies the number of sectors per track on
the disk. The ntrack argument specifies the number of tracks per cylinder
on the disk. The blksize argument gives the primary block size for files
on the file system. This value must be 8192. The fragsize argument gives
the fragment size for files on the file system. The fragsize argument
represents the smallest amount of disk space allocated to a file. It must
be a power of two currently selected from the range 512 to 8192. The ncpg
argument specifies the number of disk cylinders per cylinder group. This
number must be in the range of 1 to 32.
The minfree argument specifies the minimum percentage of free disk space
allowed. Once the file system capacity reaches this threshold, only the
superuser is allowed to allocate disk blocks. The default value is 10
percent. If a disk does not revolve at 60 revolutions per second, the rps
argument may be specified. If a file system will have more or less than
the average number of files, the nbpi argument (number of bytes per inode)
can be specified to increase or decrease the number of inodes created.
Space or time optimization preference can be specified with either the s
(for space) or the t (for time) arguments. Users with special demands for
their file systems are referred to the ``FFS Tutorial'' for a discussion
of the tradeoffs in using different configurations.
FILES
/dev/dsk/*
2/94 - Intergraph Corporation 1
ffsmkfs(8) CLIX ffsmkfs(8)
/etc/disktab
NOTES
Fast-file systems are normally created with the newfs command.
CAUTIONS
If the -N flag is not specified, and the ffsmkfs command is successful,
all information, if any, on the device will be permanently overwritten.
The ffsmkfs command does not support bad blocks.
DIAGNOSTICS
*** MOUNTED FILE SYSTEM
The device named was a mounted file system.
Warning: total inodes exceeds maximum (65535), reset to n
The number of inodes computed using the nbpi option was greater
than the total number of inodes allowed for the file system.
EXIT VALUES
The ffsmkfs command returns 0 if the file system is successfully made;
otherwise a value of 1 is returned.
RELATED INFORMATION
Commands: ffsfsck(8), newfs(8), ffsfs(4)
CLIX Programming Guide
2 Intergraph Corporation - 2/94