goon83 发表于 2006-12-10 12:34:43

A question about superblock!

I want to read the meta information of thesuperblock on the disk

The super block is located in the block 1,
so I use the command to read It's content
      dd if=/dev/sda3 count=1   bs=4096skip=1|od -tx1-Ax>temp
    (/dev/sda3 is my root partion)

But the information I read is not different from the information I get in other way
for example,
   The number of the free blockcount, I get from the command stat -f is 10000;
   I cann't find the 31 30 30 30 30 in the file temp

so,I want to know why , thank for your help!!!!!!!!!!!!!!!!!!!!!!!
页: [1]
查看完整版本: A question about superblock!