5550: /* 5551: * Definition of the unix super block. 5552: * The root super block is allocated and 5553: * read in iinit/alloc.c. Subsequently 5554: * a super block is allocated and read 5555: * with each mount (smount/sys3.c) and 5556: * released with unmount (sumount/sys3.c). 5557: * A disk block is ripped off for storage. 5558: * See alloc.c for general alloc/free 5559: * routines for free list and I list. 5560: */ 5561: struct filsys 5562: { 5563: int s_isize; /* size in blocks of I list */ 5564: int s_fsize; /* size in blocks of entire volume */ 5565: int s_nfree; /* number of in core free blocks (0-100) */ 5566: 5567: int s_free[100]; /* in core free blocks */ 5568: int s_ninode; /* number of in core I nodes (0-100) */ 5569: int s_inode[100]; /* in core free I nodes */ 5570: char s_flock; /* lock during free list manipulation */ 5571: char s_ilock; /* lock during I list manipulation */ 5572: char s_fmod; /* super block modified flag */ 5573: char s_ronly; /* mounted read-only flag */ 5574: int s_time[2]; /* current date of last update */ 5575: int pad[50]; 5576: }; 5577: /* --------------------------- */