Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disktab(5) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newfs(1M)

DISKTAB(5)  — HFS Implementation

NAME

disktab − disc description file

SYNOPSIS

#include <disktab.h>

HP-UX COMPATIBILITY

Level: Large Machine/HP Extension/HFS

Origin: HP and UCB

DESCRIPTION

Disktab is a simple data base which describes disc geometries and disc section characteristics.  Entries in disktab consist of a number of ‘:’ separated fields.  The first entry for each disc gives the names which are known for the disc, separated by ‘|’ characters.  The last name given should be a long name fully identifying the disc. 

The following list indicates the normal values stored for each disc entry.  Sectors are of size DEV_BSIZE, defined in <sys/param.h> on your system. 

 NameType Description
nsnumNumber of sectors per track
ntnumNumber of tracks per cylinder
ncnumTotal number of cylinders on the disc
b0numBlock size for section ‘0’ (bytes)
b1numBlock size for section ‘1’ (bytes)
b<n>numBlock size for section ‘<n>’ (bytes)
f0numFragment size for section ‘0’ (bytes)
f1numFragment size for section ‘1’ (bytes)
f<n>numFragment size for section ‘<n>’ (bytes)
s0numSize of section ‘0’ in sectors
s1numSize of section ‘1’ in sectors
s<n>numSize of section ‘<n>’ in sectors
rmnumRevolution per minute
tystrType of disc (e.g. removable, winchester)

Example:

hp7914::ty=winchester:ns#16:nt#7:nc#1061 :s0#118832\  :b0#8192:f0#1024:rm#3600:

HARDWARE DEPENDENCIES

Series 200:
The Series 200 SM HP-UX 5.0 release can have only one section per disc drive.

FILES

/etc/disktab

SEE ALSO

newfs(1M)

Hewlett-Packard  —  last mod. May 11, 2021

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