MBR or not? (on SD cards)

Jul 09, 2008 1 Replies

Most of the various SD cards I have examined have Master Boot Records on them (like a hard disk), but one (a Dane-Elec 128 MB) has none and starts right in with the (obviously only) volume Boot Record, like a floppy disk. Is there a "simple" "standard" way to tell whether or not a card has one?



Obrigado in advance :-)


-- Silvar Beitel


You can read the first sector of the disk and looking to see if it has a partition table in it, or you can read the first sector of the volume on the device, and assuming it's FAT (12/16/32), the disk will be partitioned if the hidden sector count (at offset +28) is non- zero. The latter is generally possible for non-FAT filesystems as well, but the details vary.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required