[lkml]   [2003]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: rfc: test whether a device has a partition table

    On Wed, 24 Sep 2003, Linus Torvalds wrote:
    > And your random byte checks for power-of-2 make no sense. What are they
    > based on?

    Oh, I found the regular DOS bootsector layout.

    The thing is, that's FAT-specific. The BIOS doesn't care, and the old
    Linux boot-sector stuff never had that, for example. It has the 0xAA55
    flag, and that makes it bootable.

    I bet the same is true of other bootsectors too, that either didn't know
    about the FAT version, or just needed the space for better things and knew
    the BIOS didn't care. And some of them might easily have powers-of-two
    values in those magic bytes.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-11-18 23:46    [W:0.021 / U:4.356 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site