diskformat(1M) diskformat(1M)
NAME
diskformat - format a disk
SYNOPSIS
diskformat [-cyl f[-t]] [-dens #] [-head f[-t]] [-il #]
[-size #] [-sec f[-t]] device
DESCRIPTION
diskformat initializes a hard or floppy disk and formats it
according to your specifications.
You can use the following flag options (you must specify
device):
device device to format (must be raw device)
-cyl f[-t] format cylinders f to t (default f). A
specification such as #- means "until the end".
-dens # density
-head f[-t] format heads f to t (default f). A
specification such as #- means "until the end".
-il# interleave factor for the disk.
-sec f[-t] format sectors f to t (default f). A
specification such as #- means "until the end".
-size # sector size in bytes
EXAMPLE
diskformat /dev/rfdc0 -dens 1 -size 128 -il 3
Format the floppy disk on drive 0, single density, 128 bytes
per sector with an interleave factor of 3. This format is
the only truly portable floppy format.
FILES
/bin/diskformat
Page 1 (last mod. 1/15/87)