|
|
1.1 root 1: /* filsys.h 4.1 11/9/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: daddr_t s_tfree; /* total free blocks*/
20: ino_t s_tinode; /* total free inodes */
21: /* begin not maintained by this version of the system */
22: short s_dinfo[2]; /* interleave stuff */
23: #define s_m s_dinfo[0]
24: #define s_n s_dinfo[1]
25: char s_fname[6]; /* file system name */
26: char s_fpack[6]; /* file system pack name */
27: /* end not maintained */
28: ino_t s_lasti; /* start place for circular search */
29: ino_t s_nbehind; /* est # free inodes before s_lasti */
30: };
31:
32: #ifdef KERNEL
33: struct filsys *getfs();
34: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.