added RANLIBMAG
[unix-history] / usr / src / include / disktab.h
CommitLineData
bb0cfa24
DF
1/*
2 * Copyright (c) 1983 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
e7924e03 6 * @(#)disktab.h 5.2 (Berkeley) %G%
bb0cfa24 7 */
f9932ef4
SL
8
9/*
10 * Disk description table, see disktab(5)
11 */
12#define DISKTAB "/etc/disktab"
f9932ef4
SL
13
14struct disktab {
15 char *d_name; /* drive name */
16 char *d_type; /* drive type */
17 int d_secsize; /* sector size in bytes */
18 int d_ntracks; /* # tracks/cylinder */
19 int d_nsectors; /* # sectors/track */
20 int d_ncylinders; /* # cylinders */
21 int d_rpm; /* revolutions/minute */
e7924e03
KM
22 int d_badsectforw; /* supports DEC bad144 std */
23 int d_sectoffset; /* use sect rather than cyl offsets */
f9932ef4
SL
24 struct partition {
25 int p_size; /* #sectors in partition */
26 short p_bsize; /* block size in bytes */
27 short p_fsize; /* frag size in bytes */
28 } d_partitions[8];
29};
30
31struct disktab *getdiskbyname();