Determining fs types

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Darkening

Determining fs types

Post 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
Tim

Re:Determining fs types

Post 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?
Post Reply