• Please review our updated Terms and Rules here

Hot-plug Drives under DOS

pearce_jj

Veteran Member
Joined
May 14, 2010
Messages
2,808
Location
UK
I'm wondering what would be needed to enable non-boot disks to be hot-swapped under plain old DOS?
 
It depends. If you want to swap partitioned drives, it can get pretty complicated, as DOS treats each partition as a separate drive. Otherwise, it's mostly a matter of driver code. A bit is set in the driver header indicating a removable device and the driver itself should know how to respond to the "Removable media check" driver request.
 
Chuck, thanks. That sounds like a 'possible', with that restriction.

If I included IO port control of the CF card power, maybe this could work (note not proposing holding up the project as it stands, just thinking of a future version) via unmount and mount utilities? I'm thinking along the lines of adding a red/green status LED on the bracket to indicates safe to remove (i.e. card power status), no flash chip needed either as it sounds like it would need to be driver-driven anyway.
 
Back
Top