[comp.sys.amiga.tech] Help with DOS requested

new@udel.edu (Darren New) (10/10/89)

Given that I have a lock on the disk itself, I need to
determine what drive the disk is in.  That is, the
user has specified "Empty:" and I need "DF2:".
Can anybody suggest how to get from one to the other?
I've looked in dosextens.h and filehandler.h and I
can't seem to find any pointers.  If no other way, can I
run through all the devices and use Info() to find out
what volume is on this device?  (I can't believe it's
THAT difficult...)    Thanks in advance! -- Darren