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.2 (Berkeley) 10/1/85
   7:  */
   8: 
   9: /*
  10:  * Disk description table, see disktab(5)
  11:  */
  12: #define DISKTAB     "/etc/disktab"
  13: 
  14: struct  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:     int d_badsectforw;      /* supports DEC bad144 std */
  23:     int d_sectoffset;       /* use sect rather than cyl offsets */
  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: 
  31: struct  disktab *getdiskbyname();

Defined struct's

disktab defined in line 14; used 30 times
partition defined in line 24; used 4 times

Defined macros

DISKTAB defined in line 12; used 1 times

Usage of this include

Last modified: 1985-11-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 859
Valid CSS Valid XHTML 1.0 Strict