Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disktab(5) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newfs(8)

diskpart(8)

getdiskbyname(3)

DISKTAB(5)  —  Unix Programmer’s Manual

NAME

disktab − disk description file

SYNOPSIS

#include <disktab.h>

DESCRIPTION

Disktab is a simple date base which describes disk geometries and disk partition characteristics.  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. 

 NameType Description
nsnumNumber of sectors per track
ntnumNumber of tracks per cylinder
ncnumTotal number of cylinders on the disk
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)
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
senumSector size in bytes
sfboolsupports bad144-style bad sector forwarding
soboolpartition offsets in sectors
tystrType of disk (e.g. removable, winchester)

Disktab entries may be automatically generated with the diskpart program. 

FILES

/etc/disktab

SEE ALSO

newfs(8), diskpart(8), getdiskbyname(3)

BUGS

This file shouldn’t exist, the information should be stored on each disk pack. 

4.2 Berkeley Distribution  —  May 17, 1986

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