must use -B option to tar
[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 *
6 * @(#)disktab.h 5.1 (Berkeley) %G%
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 */
22 struct partition {
23 int p_size; /* #sectors in partition */
24 short p_bsize; /* block size in bytes */
25 short p_fsize; /* frag size in bytes */
26 } d_partitions[8];
27};
28
29struct disktab *getdiskbyname();