2006/6/11, Petter Reinholdtsen <pe...@us...>:
> Update of /cvsroot/ext2resize/ext2resize/src
> In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv8710
>
> Modified Files:
> ext2_fs.h
> Log Message:
> Document more of the content in the ext2 super block struct. Code
> found in the big-endian patch from Fedora.
I don't like it. Doing this is useless and only wasting your own time.
If you have to do it, you'd follow the vanilla kernel, not fedora or any other
particular distros.
FYI: http://sosdg.org/~coywolf/lxr/ident?i=ext2_super_block
>
>
> Index: ext2_fs.h
> ===================================================================
> RCS file: /cvsroot/ext2resize/ext2resize/src/ext2_fs.h,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -C2 -d -r1.8 -r1.9
> *** ext2_fs.h 3 Jul 2002 17:52:24 -0000 1.8
> --- ext2_fs.h 11 Jun 2006 08:23:37 -0000 1.9
> ***************
> *** 459,465 ****
> __u32 s_journal_inum; /* inode number of journal file */
> __u32 s_journal_dev; /* device number of journal file */
> __u32 s_last_orphan; /* start of list of inodes to delete */
>
> ! __u32 s_reserved[197]; /* Padding to the end of the block */
> };
>
> --- 459,474 ----
> __u32 s_journal_inum; /* inode number of journal file */
> __u32 s_journal_dev; /* device number of journal file */
> +
> __u32 s_last_orphan; /* start of list of inodes to delete */
> + __u32 s_hash_seed[4]; /* HTREE hash seed */
> + __u8 s_def_hash_version; /* Default hash version to use */
> + __u8 s_jnl_backup_type; /* Default type of journal backup */
> + __u16 s_reserved_word_pad;
> + __u32 s_default_mount_opts;
> + __u32 s_first_meta_bg; /* First metablock group */
> + __u32 s_mkfs_time; /* When the filesystem was created */
> + __u32 s_jnl_blocks[17]; /* Backup of the journal inode */
>
> ! __u32 s_reserved[172]; /* Padding to the end of the block */
> };
>
>
>
>
> _______________________________________________
> Ext2resize-cvs mailing list
> Ext...@li...
> https://lists.sourceforge.net/lists/listinfo/ext2resize-cvs
>
--
Coywolf Qi Hunt
|