At Mon, 25 Oct 2010 00:21:41 +0200, Stefan Seyfried wrote:
On Sun, 24 Oct 2010 22:37:28 +0200 Michal Marek <mmarek@suse.cz> wrote:
Dne 24.10.2010 13:55, Stefan Seyfried napsal(a):
Hi,
simple question:
who creates the /dev/root symlink?
I'm pretty sure it's udev, but I could not find a rule for it on current FACTORY, so I'm asking here ;-)
It's the initrd, it creates an udev rule for /dev/root when booting by label or filesystem uuid.
Ok, but is this rule stored somewhere? Because I could not find it. On an 11.2 system, the link is created even though no mount-by-label is used:
seife@server:~> ls -l /dev/root lrwxrwxrwx 1 root root 4 26. Sep 20:59 /dev/root -> sda2 seife@server:~> cat /proc/cmdline root=/dev/sda2 sysrq=yes printk.time=1 acpi_enforce_resources=lax
Take a look at /lib/mkinitrd/scripts/boot-storage.sh. Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org