pbr...@nethence.com (pierre-philipp braun) writes:

>Ok this might be long so here's the full process
>http://pub.nethence.com/bsd/malabar

| BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE
fsck_ext2fs compares primary and alternate superblock. Apparently there is
a difference, unfortunately it's not shown.

| /dev/rwd0e: NOT LABELED AS A EXT2 FILE SYSTEM (4.2BSD)
It also verifies that the disklabel references it as an ext2 filesystem.

| /dev/rwd0e: PARTITION SIZE IS 0
And it also verifies that the partition table entry has a non-zero 'fsize'
field. That field in the partition table specifies the ext2 block size,
usually 1024 or 4096.

As a side effect the 'fsize' field determines the size of buffers in the
the traditional buffer cache. I guess this is why fsck_ext2fs relies on
that value instead of just taking the information from the ext2 superblock.

-- 
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to