Date: Thu, 5 Mar 1998 16:52:57 +0200 (IST) From: Eli Zaretskii To: Martin Stromberg cc: djgpp AT delorie DOT com Subject: Re: hdparm lets your IDE disk spin down In-Reply-To: <6dlgva$o34$1@antares.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.