Re: ext2 filesystem superblock
- From: Sevag Krikorian <kahlinor@xxxxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 01:30:32 -0400
T.M. Sommers wrote:
Sevag Krikorian wrote:
Hi all,
I'm working on understanding filesystems and thought I'd start with the ext2 filesystem (since I have an image of that lying around).
I wrote a little test program to scan the superblock of a 10mb linux hd image.
...
All of the information seems to make sence except for the blocks/group
I get 8192 blocks per group but only 10240 total blocks. The documentation doesn't state it, is it normal for the last group on the partition to have a partial share of the blocks? Or does this mean that
there is only one group and the last 2048 blocks of the disk are not used? Or maybe something altoghter different...
This link has some information:
http://uranus.it.swin.edu.au/~jn/explore2fs/es2fs.htm
You will probably get more knowledgeable answers to such questions in a Linux newsgroup.
Thanks for the link. This answered my question:
"s_blocks_per_group
The filesystem is divided up into block groups. Note that the last block group may be incomplete"
A little bit of info that was missing from the documents I was using.
-- [kain] http://www.geocities.com/kahlinor .
- References:
- ext2 filesystem superblock
- From: Sevag Krikorian
- Re: ext2 filesystem superblock
- From: T.M. Sommers
- ext2 filesystem superblock
- Prev by Date: Re: ext2 filesystem superblock
- Next by Date: retf for 16bit or 32bit? CS:IP or CS:EIP?
- Previous by thread: Re: ext2 filesystem superblock
- Next by thread: retf for 16bit or 32bit? CS:IP or CS:EIP?
- Index(es):
Relevant Pages
|