Re: Symbolic links disappear after reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Dalloz wrote:
Am Do, den 21.04.2005 schrieb dev.loop@xxxxxxxxx um 18:59:


I created a symlink 'lrwxrwxrwx 1 root root 8 21. Apr 18:57 /dev/dvd -> /dev/hdc' for mplayer to find the DVD when I start it with 'mplayer dvd://1'

But everytime I reboot, the symlink is gone and I have to create it again.

Anyone else seen this ?
Maybe it is related to the change from dev to udev. Dunno anything about udev.


Correct, normal and caused by udev populating /dev each startup
dynamically. See i.e.

http://www.reactivated.net/udevrules.php#multiple-symlinks

Specifically in this case, creating a file /etc/udev/rules.d/10-custom.rules containing the line:


KERNEL="hdc", SYMLINK="dvd"

should fix the problem if the standard udev rules don't find your drive (the standard rules have no problem finding my Sony DVD writer and creating this and other links), but you *do* need the udev package from updates-released.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux