DISKTAB
Section: File Formats (5)
Index
Return to Main Contents
BSD mandoc
BSD 4.2
NAME
disktab
- disk description file
SYNOPSIS
Fd #include <disktab.h>
DESCRIPTION
Disktab
is a simple database which describes disk geometries and
disk partition characteristics.
It is used
to initialize the disk label on the disk.
The format is patterned
after the
termcap(5)
terminal data base. Entries in
disktab
consist of a number of `:' separated fields. The
first entry for each disk gives the names which are
known for the disk, separated by `|' characters. The
last name given should be a long name fully identifying
the disk.
The following list indicates the normal values
stored for each disk entry.
- Name Type Description
-
- "ty str Type of disk (e.g. removable, winchester)"
-
- "dt strType of controller (e.g."
-
SMD , ESDI
floppy)
- "ns num Number of sectors per track"
-
- "nt num Number of tracks per cylinder"
-
- "ncnumTotal number of cylinders on the disk"
-
- "scnumNumber of sectors per cylinder, nc*nt default"
-
- "sunumNumber of sectors per unit, sc*nc default"
-
- "senumSector size in bytes,"
-
DEV_BSIZE
default
- "sf bool Controller supports bad144-style bad sector forwarding"
-
- "rm num Rotation speed, rpm, 3600 default"
-
- "sknumSector skew per track, default 0"
-
- "csnumSector skew per cylinder, default 0"
-
- "hsnumHeadswitch time, usec, default 0"
-
- "tsnumOne-cylinder seek time, usec, default 0"
-
- "ilnumSector interleave (n:1), 1 default"
-
- "d[0-4]numDrive-type-dependent parameters"
-
- "bsnumBoot block size, default"
-
BBSIZE
- "sbnumSuperblock size, default"
-
SBSIZE
- "banumBlock size for partition `a' (bytes)"
-
- "bdnumBlock size for partition `d' (bytes)"
-
- "benumBlock size for partition `e' (bytes)"
-
- "bfnumBlock size for partition `f' (bytes)"
-
- "bgnumBlock size for partition `g' (bytes)"
-
- "bhnumBlock size for partition `h' (bytes)"
-
- "fanumFragment size for partition `a' (bytes)"
-
- "fdnumFragment size for partition `d' (bytes)"
-
- "fenumFragment size for partition `e' (bytes)"
-
- "ffnumFragment size for partition `f' (bytes)"
-
- "fgnumFragment size for partition `g' (bytes)"
-
- "fhnumFragment size for partition `h' (bytes)"
-
- "oanumOffset of partition `a' in sectors"
-
- "obnumOffset of partition `b' in sectors"
-
- "ocnumOffset of partition `c' in sectors"
-
- "odnumOffset of partition `d' in sectors"
-
- "oenumOffset of partition `e' in sectors"
-
- "ofnumOffset of partition `f' in sectors"
-
- "ognumOffset of partition `g' in sectors"
-
- "ohnumOffset of partition `h' in sectors"
-
- "panumSize of partition `a' in sectors"
-
- "pbnumSize of partition `b' in sectors"
-
- "pcnumSize of partition `c' in sectors"
-
- "pdnumSize of partition `d' in sectors"
-
- "penumSize of partition `e' in sectors"
-
- "pfnumSize of partition `f' in sectors"
-
- "pgnumSize of partition `g' in sectors"
-
- "phnumSize of partition `h' in sectors"
-
- "tastrPartition type of partition `a'"
-
( BSD 4.2
filesystem, swap, etc)
- "tb str Partition type of partition `b'"
-
- "tc str Partition type of partition `c'"
-
- "tdstrPartition type of partition `d'"
-
- "testrPartition type of partition `e'"
-
- "tfstrPartition type of partition `f'"
-
- "tgstrPartition type of partition `g'"
-
- "thstrPartition type of partition `h'"
-
FILES
- /etc/disktab
-
SEE ALSO
getdiskbyname(3),
disklabel(5),
disklabel(8),
newfs(8)
HISTORY
The
description file appeared in
BSD 4.2
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- SEE ALSO
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 15:52:48 GMT, January 15, 2023