|
|
1.1 ! root 1: /* filsys.h 2.1 1/5/80 */ ! 2: ! 3: /* ! 4: * Structure of the super-block ! 5: */ ! 6: struct filsys ! 7: { ! 8: unsigned short s_isize; /* size in blocks of i-list */ ! 9: daddr_t s_fsize; /* size in blocks of entire volume */ ! 10: short s_nfree; /* number of addresses in s_free */ ! 11: daddr_t s_free[NICFREE]; /* free block list */ ! 12: short s_ninode; /* number of i-nodes in s_inode */ ! 13: ino_t s_inode[NICINOD]; /* free i-node list */ ! 14: char s_flock; /* lock during free list manipulation */ ! 15: char s_ilock; /* lock during i-list manipulation */ ! 16: char s_fmod; /* super block modified flag */ ! 17: char s_ronly; /* mounted read-only flag */ ! 18: time_t s_time; /* last super block update */ ! 19: /* begin not maintained by this version of the system */ ! 20: daddr_t s_tfree; /* total free blocks*/ ! 21: ino_t s_tinode; /* total free inodes */ ! 22: short s_m; /* interleave factor */ ! 23: short s_n; /* " " */ ! 24: char s_fname[6]; /* file system name */ ! 25: char s_fpack[6]; /* file system pack name */ ! 26: /* end not maintained */ ! 27: ino_t s_lasti; /* start place for circular search */ ! 28: ino_t s_nbehind; /* est # free inodes before s_lasti */ ! 29: }; ! 30: ! 31: #ifdef KERNEL ! 32: struct filsys *getfs(); ! 33: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.