Page 1 of 1

Determining fs types

Posted: Tue Apr 30, 2002 11:30 am
by Darkening
I actually don't need this for my OS (as I am not that far in development), but for another program:
How can I determine the fs type of a floppy disk (preferably without probing it) - hard disk is easy: just reading the partition tables, but floppies?? ???

Darkening

Re:Determining fs types

Posted: Tue Apr 30, 2002 4:16 pm
by Tim
AFAIK you've got to read the parameters stored in the boot sector. If it's not a FAT disk, and the parameters aren't stored anywhere else, then I think you're pretty stuck. This is logical: since the drive supports various different kinds of disks (e.g. 720KB and 1.40MB), how can it know the disk type without reading it?