add a see also
[unix-history] / usr / src / share / man / man5 / disktab.5
CommitLineData
fe259142
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
d46aa4b8 5.\" @(#)disktab.5 6.4 (Berkeley) %G%
fe259142 6.\"
5b8e9484 7.TH DISKTAB 5 ""
fe259142
KM
8.UC 5
9.SH NAME
10disktab \- disk description file
11.SH SYNOPSIS
12.B #include <disktab.h>
13.SH DESCRIPTION
14.I Disktab
15is a simple date base which describes disk geometries and
16disk partition characteristics. The format is patterned
17after the
18.IR termcap (5)
19terminal data base. Entries in
20.I disktab
21consist of a number of `:' separated fields. The
22first entry for each disk gives the names which are
23known for the disk, separated by `|' characters. The
24last name given should be a long name fully identifying
25the disk.
26.PP
27The following list indicates the normal values
28stored for each disk entry.
29.nf
30
31.ta \w'Name 'u +\w'Type 'u
32\fBName Type Description\fP
33ns num Number of sectors per track
34nt num Number of tracks per cylinder
35nc num Total number of cylinders on the disk
36ba num Block size for partition `a' (bytes)
37bd num Block size for partition `d' (bytes)
38be num Block size for partition `e' (bytes)
39bf num Block size for partition `f' (bytes)
40bg num Block size for partition `g' (bytes)
41bh num Block size for partition `h' (bytes)
42fa num Fragment size for partition `a' (bytes)
43fd num Fragment size for partition `d' (bytes)
44fe num Fragment size for partition `e' (bytes)
45ff num Fragment size for partition `f' (bytes)
46fg num Fragment size for partition `g' (bytes)
47fh num Fragment size for partition `h' (bytes)
48pa num Size of partition `a' in sectors
49pb num Size of partition `b' in sectors
50pc num Size of partition `c' in sectors
51pd num Size of partition `d' in sectors
52pe num Size of partition `e' in sectors
53pf num Size of partition `f' in sectors
54pg num Size of partition `g' in sectors
55ph num Size of partition `h' in sectors
56se num Sector size in bytes
32575477
MK
57sf bool supports bad144-style bad sector forwarding
58so bool partition offsets in sectors
fe259142
KM
59ty str Type of disk (e.g. removable, winchester)
60.fi
61.PP
62.I Disktab
63entries may be automatically generated with the
64.I diskpart
65program.
66.SH FILES
67/etc/disktab
68.SH "SEE ALSO"
d46aa4b8 69newfs(8), diskpart(8), getdiskbyname(3)
fe259142
KM
70.SH BUGS
71This file shouldn't exist, the information should be
72stored on each disk pack.