Re: first block in ext3 filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Aug 6, 2012 at 11:04 AM, Prashant Shah <pshah.mumbai@xxxxxxxxx> wrote:
Hi,

I came across this

$sudo dumpe2fs /dev/sda1

4KB Block Size
Group 0: (Blocks 0-32767)
  Primary superblock at 0, Group descriptors at 1-1

1KB Block Size
Group 0: (Blocks 1-8192)
  Primary superblock at 1, Group descriptors at 2-2

Why does first block start from 0 in the 4KB block size partition and
1 in 1KB block size partition ?

Let's say superblock is always written at a fixed offset of 1024 (they have to because e2fsck has to find it) in the filesystem. What would be the block numbers with block sizes 1k and 4k ?

 

Regards.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



--
Thanks -
Manish

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux