On 10/16/05, klap2 <[EMAIL PROTECTED]> wrote:
> cat >> /etc/udev/rules.d/24-dvd.rules << "EOF"
> # Create a /dev/dvd symlink
>
> KERNEL="[dvd drive]", SYMLINK="dvd"
>
> EOF
<snip>
> swapon: cannot stat /dev/sda4
> ...
> mount: special device /dev/sda1 doesn't exist
<snip>
> /dev/sda1 /
> /dev/sda2 /usr
> /dev/sda3 /home
> /dev/sda4 swap

Maybe you need to move the udev rules for sd* to before you make the symlink:
KERNEL=="sd[a-z]",                  GROUP="disk"
KERNEL=="sd[a-z][0-9]*",            GROUP="disk"
KERNEL=="sd[a-i][a-z]",             GROUP="disk"
KERNEL=="sd[a-i][a-z][0-9]*",       GROUP="disk"
KERNEL="[dvd drive]", SYMLINK="dvd"

Or, maybe you could move your custom rulefile to after the default one is used:
26-dvd.rules.

BTW, what version of udev are you using?

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to