Re: 2.7 block ramblings (was Re: DMA for ide-scsi?)
From: Jeff Garzik
Date: Sun Sep 14 2003 - 12:26:04 EST
Andries Brouwer wrote:
On Sun, Sep 14, 2003 at 12:15:27PM +0100, Justin Cormack wrote:
If you need to know your bootdisk (why?) why not just get the bootloader
to tell you?
I am not quite sure why anybody would like to know what the bootdisk was.
The rootdisk, yes, that we need. But the bootdisk?
Finding it is nontrivial in general. Letting the bootloader tell us
is also nontrivial.
The bootloader or mkinitrd typically tells the kernel what the root disk
is, so that's not a big deal. The boot disk, OTOH, is tough. Right
now, we just assume the sysadmin knows what's he's doing, when he
installs lilo or grub on a disk. You care about the boot disk when
installing lilo... maybe there are similar situations too which I do not
recall. As Alan said, besides EDD (only on newer boxes) there's really
nothing.
Jeff
-
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/