Chinaunix

标题: A question ablout the superblock ? [打印本页]

作者: goon83    时间: 2006-12-10 00:18
标题: A question ablout the superblock ?
I want to read the meta information of the  superblock 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=4096  skip=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 block  count, 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!!!!!!!!!!!!!!!!!!!!!!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2