Re: Kernel parameters: root

From: Jan Engelhardt
Date: Fri May 04 2007 - 10:30:51 EST



On May 4 2007 15:37, Salvatore De Paolis wrote:
>
>I hope this is the right place to ask this question, if not please redirect me
>to the right ML.
>
>I would like to know more about kernel parameters and in particular about the
>root parameter.
>I'm booting the kernel from usb pen and the root could change while the pen is
>plugged in different machines with different hardware.
>I was trying to find info about "how to make this unique".

By using root=/dev/disk/by-id/scsi-SATA_iCreate_CF_Card000000001-part1
for example. Requires an initramfs with udev.

>Does the kernel see only /dev/* ? There's no way to pass /dev/disk/*?

The kernel has special logic to translate some (not ALL)
/dev/[hs]d[abcd..] into device numbers if it cannot find
a device node.


Jan
--
-
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/