1*21302Sdist /* 2*21302Sdist * Copyright (c) 1983 Regents of the University of California. 3*21302Sdist * All rights reserved. The Berkeley software License Agreement 4*21302Sdist * specifies the terms and conditions for redistribution. 5*21302Sdist * 6*21302Sdist * @(#)disktab.h 5.1 (Berkeley) 05/30/85 7*21302Sdist */ 811410Ssam 911410Ssam /* 1011410Ssam * Disk description table, see disktab(5) 1111410Ssam */ 1211410Ssam #define DISKTAB "/etc/disktab" 1311410Ssam 1411410Ssam struct disktab { 1511410Ssam char *d_name; /* drive name */ 1611410Ssam char *d_type; /* drive type */ 1711410Ssam int d_secsize; /* sector size in bytes */ 1811410Ssam int d_ntracks; /* # tracks/cylinder */ 1911410Ssam int d_nsectors; /* # sectors/track */ 2011410Ssam int d_ncylinders; /* # cylinders */ 2111410Ssam int d_rpm; /* revolutions/minute */ 2211410Ssam struct partition { 2311410Ssam int p_size; /* #sectors in partition */ 2411410Ssam short p_bsize; /* block size in bytes */ 2511410Ssam short p_fsize; /* frag size in bytes */ 2611410Ssam } d_partitions[8]; 2711410Ssam }; 2811410Ssam 2911410Ssam struct disktab *getdiskbyname(); 30