On Sun, 24 Oct 2010 22:37:28 +0200
Michal Marek <mmarek(a)suse.cz> wrote:
Dne 24.10.2010 13:55, Stefan Seyfried napsal(a):
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
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
(The original problem I was trying to solve was simply solved by using
busybox's mdev instead of home-grown /sbin/hotplug, on an embedded system
of course, but I'm still curious ;)
"Any ideas, John?"
"Well, surrounding them's out."
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-kernel+help(a)opensuse.org