On 09/21/2014 04:14 PM, jd1008 wrote:
So, an ext3fs' superblock, starts at 1K bytes from start of partition, extends only 1K bytes? Is this true no matter what block size was chosen for the creation of the FS? I have been looking for a schematic block diagram layout of the ext[2,3,4] filesystems as far as the superblocks go, and their sizes and member fields offsets within the superblocks and what these member fields are used for. If any professor has made any such diagram, I hope someone will post it's web location to this group :)
Yes, the super block is always 1024 bytes. Its structure is in file ext3_fs.h in the kernel's source. You can look at a version of that in http://lxr.free-electrons.com/source/fs/ext3/ext3.h (one of the first Google hits on "ext3_fs.h"). Scroll down to line 400, where you will find the definition of struct ext3_super_block. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org