Next Internals of ext2fs 16

ext2fs Superblock

      struct super_block {
        ...
        union {
                ...
                struct ext2_sb_info     ext2_sb;
                ...
        } u;
        ...
      };
      struct ext2_sb_info {
        unsigned long s_frag_size;      /* Size of a fragment in bytes */
        unsigned long s_frags_per_block;/* Number of fragments per block */
        unsigned long s_inodes_per_block;/* Number of inodes per block */
        unsigned long s_frags_per_group;/* Number of fragments in a group */
        unsigned long s_blocks_per_group;/* Number of blocks in a group */
        unsigned long s_inodes_per_group;/* Number of inodes in a group */
        ...
      }


Next Copyright © 2001 M. J. Dominus