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