Thinking a bit more about it... I would suggest the following design:
config.sys would load partmgr.sys, that at load time, would scan each hard
drive.
partmgr would know about MBR partitions and GPT partitions.
It would scan each partition, and if it is a known partition type (FAT), would
load
a block driver for it.
There would be functions, to add and remove partitions, and that would load,
unload
the associated block driver.
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel