Re: [RFC][PATCH 2.4] EDD 4-byte MBR disk signature for the boot disk

From: Herbert Poetzl
Date: Fri Oct 24 2003 - 21:29:25 EST


On Tue, Oct 14, 2003 at 08:38:09AM -0500, Matt Domsch wrote:
> > Can you remind me why you want to retrieve the boot disk?
>
> Fair question. Consider the case of automated factory install of a
> new system. One may configure the system to have multiple disk
> controllers and multiple disks on them, attached in just about any
> way. One common configuration our customers like is to have two disks
> attached to one controller on which to put the OS, then maybe 8 more
> disks on a second SCSI backplane going to two channels of another
> controller on which they want to build their database files.
>
> Right now, there's no good way to determine programatically from
> within Linux which disk controller and disk the BIOS will decide is
> the boot device.

hmm, IIRC devfs makes a /dev/root symlink pointing
to the root device ... is this not what you want?

please ignore if I talk nonsense ...

best,
Herbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/