Mail Archives: djgpp/1998/03/05/09:55:07
On 5 Mar 1998, Martin Stromberg wrote:
> But how do I get which physical IDE disk and partition 'c:' or
> 'g:' is? For those who knows about Linux, I need a mapping from
> DOSish letters to /dev/hd{a,b,c,d}.
AFAIK, it's impossible without reading the boot sectors of the disks and
interpreting the partition tables.
Also, don't forget that some drives might not be found at all that way:
those which are RAM disks, SUBSTed and JOINed disks, CD-ROMs, networked
drives, etc.
- Raw text -