Re: msdos FS bug

H. Peter Anvin (hpa@transmeta.com)
7 Jul 1998 01:38:04 GMT


Followup to: <199807070029.UAA03764@hilfy.ece.cmu.edu>
By author: "Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net>
In newsgroup: linux.dev.kernel
>
> Partitions have boot blocks as well.
>
> Reiteration: *MS-DOS doesn't have a superblock*. The filesystem metadata
> are encoded into the boot block... but you can't always tell that what's
> there is valid. And some versions of DOS don't bother to fill in all the
> pieces.
>

Yes it does have a superblock. The fact that it is (a) broken in far
too many ways to list here, (b) stupidly encoded, and (c) in a
brain-damaged location doesn't change the fact that it is the
superblock.

In fact, the fact that the superblock is a part of the boot block is
probably the *least* brain-damaged part of the whole exercise (there
are actually pseudo-valid reasons for doing it that way.)

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu