[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie questions again...



>>>>> Marcus Brinkmann writes:

 MB> On Mon, Nov 08, 1999 at 11:05:59AM +0100, Zsombor Gergely wrote:

 >> 1) Reading on disk/partition names (like the easy guide) state
 >> that "IDE hard disks are numbered in order...". What happens if I
 >> had Primary/Master (hd0) and Secondary/Master (hd1) and added
 >> Primary slave? Will this shift hd1 to hd2?  [Beides: it would be
 >> nice to sync the disk naming conventions int Hurd and GRUB!]

 MB> The comment applies only to GRUB, not to Mach naming
 MB> convention. So hd* never changes, but grub style (hd*,*) does
 MB> indeed shift. There is ahrdly anyway to sync those names, as GRUB
 MB> is limited by BIOS functionality. Erich said that there were a
 MB> way, but it's definitely hard.

Okuji has done some fantastic work on an `ioprobe' command that has
overcome this hurdle.  There's still more work to do, but it is now
feasible to correctly support both Mach and Linux-style partition
naming.

For those who are curious, ioprobe works by setting the trap flag,
then single-stepping through an INT13 call, scanning the machine code
for IO port usage, and recording the ports that were used.  This
should be enough for us to determine the correct Mach or Linux-style
name for the device.

All in all, GRUB is developing very nicely.

-- 
 Gordon Matzigkeit <gord@fig.org>  //\ I'm a FIG (http://www.fig.org/)
Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)


Reply to: