home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / sys / h / filsys.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-03  |  977 b   |  24 lines

  1. /*
  2.  * Structure of the super-block
  3.  */
  4. struct    filsys {
  5.     unsigned short s_isize;    /* size in blocks of i-list */
  6.     daddr_t    s_fsize;       /* size in blocks of entire volume */
  7.     short      s_nfree;       /* number of addresses in s_free */
  8.     daddr_t    s_free[NICFREE];/* free block list */
  9.     short      s_ninode;      /* number of i-nodes in s_inode */
  10.     ino_t      s_inode[NICINOD];/* free i-node list */
  11.     char       s_flock;       /* lock during free list manipulation */
  12.     char       s_ilock;       /* lock during i-list manipulation */
  13.     char       s_fmod;        /* super block modified flag */
  14.     char       s_ronly;       /* mounted read-only flag */
  15.     time_t     s_time;        /* last super block update */
  16.     /* remainder not maintained by this version of the system */
  17.     daddr_t    s_tfree;       /* total free blocks*/
  18.     ino_t      s_tinode;      /* total free inodes */
  19.     short      s_m;           /* interleave factor */
  20.     short      s_n;           /* " " */
  21.     char       s_fname[6];    /* file system name */
  22.     char       s_fpack[6];    /* file system pack name */
  23. };
  24.