<br><div class="gmail_quote">On Mon, Aug 6, 2012 at 11:04 AM, Prashant Shah <span dir="ltr">&lt;<a href="mailto:pshah.mumbai@gmail.com" target="_blank">pshah.mumbai@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
I came across this<br>
<br>
$sudo dumpe2fs /dev/sda1<br>
<br>
4KB Block Size<br>
Group 0: (Blocks 0-32767)<br>
  Primary superblock at 0, Group descriptors at 1-1<br>
<br>
1KB Block Size<br>
Group 0: (Blocks 1-8192)<br>
  Primary superblock at 1, Group descriptors at 2-2<br>
<br>
Why does first block start from 0 in the 4KB block size partition and<br>
1 in 1KB block size partition ?<br></blockquote><div><br>Let&#39;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 ?<br>

<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards.<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks -<br>Manish<br><br>