SCCS-vsn: sys/ufs/ffs/fs.h 8.9
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)fs.h 8.8 (Berkeley) %G%
+ * @(#)fs.h 8.9 (Berkeley) %G%
* Super block for an FFS file system.
*/
struct fs {
* Super block for an FFS file system.
*/
struct fs {
- int32_t unused_1; /* historic file system linked list, */
- int32_t unused_2; /* used for incore super blocks */
+ int32_t fs_firstfield; /* historic file system linked list, */
+ int32_t fs_unused_1; /* used for incore super blocks */
daddr_t fs_sblkno; /* addr of super-block in filesys */
daddr_t fs_cblkno; /* offset of cyl-block in filesys */
daddr_t fs_iblkno; /* offset of inode-blocks in filesys */
daddr_t fs_sblkno; /* addr of super-block in filesys */
daddr_t fs_cblkno; /* offset of cyl-block in filesys */
daddr_t fs_iblkno; /* offset of inode-blocks in filesys */
*/
#define CG_MAGIC 0x090255
struct cg {
*/
#define CG_MAGIC 0x090255
struct cg {
- int32_t unused_1; /* historic cyl groups linked list */
+ int32_t cg_firstfield; /* historic cyl groups linked list */
int32_t cg_magic; /* magic number */
time_t cg_time; /* time last written */
int32_t cg_cgx; /* we are the cgx'th cylinder group */
int32_t cg_magic; /* magic number */
time_t cg_time; /* time last written */
int32_t cg_cgx; /* we are the cgx'th cylinder group */
* for compatibility with old file systems.
*/
struct ocg {
* for compatibility with old file systems.
*/
struct ocg {
- int32_t unused_1; /* historic linked list of cyl groups */
- int32_t unused_2; /* used for incore cyl groups */
+ int32_t cg_firstfield; /* historic linked list of cyl groups */
+ int32_t unused_1; /* used for incore cyl groups */
time_t cg_time; /* time last written */
int32_t cg_cgx; /* we are the cgx'th cylinder group */
int16_t cg_ncyl; /* number of cyl's this cg */
time_t cg_time; /* time last written */
int32_t cg_cgx; /* we are the cgx'th cylinder group */
int16_t cg_ncyl; /* number of cyl's this cg */