delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/05/09:55:07

Date: Thu, 5 Mar 1998 16:52:57 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
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: <Pine.SUN.3.91.980305165044.12968D-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019