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

[solved] Re: Symlink not permanent



On 2008-03-19 20:29 +0100, Rodolfo Medina wrote:

>>>  # cd /dev
>>>
>>>  # ls -l cdrom
>>>  lrwxrwxrwx 1 root root 3 2008-01-14 16:34 cdrom -> hdb
>>>
>>>  # rm -vi cdrom
>>>  rm: remove symbolic link `cdrom'? y
>>>  removed `cdrom'
>>>
>>>  # ln -s hdc cdrom
>>>
>>>  # ls -l cdrom
>>>  lrwxrwxrwx 1 root root 3 2008-01-14 16:42 cdrom -> hdc
>>>
>>>
>>> , but then when I reboot the symlink points to hdb back again!  Why that,
>>> and
>>> how to work it out?



On 03/19/08 13:37, Sven Joachim wrote:
 
>> That is because your /dev directory itself is not permanent, i.e. you
>> are using udev.  See the output of `mount' and `df'.
>> 


Rodolfo:

>>>  How to make the symlink permanent?



Sven:
 
>> There should be a file named /etc/udev/rules.d/z25_persistent-cd.rules
>> which you can edit to your needs.



Ron Johnson <ron.l.johnson@cox.net> writes:

> Unless he has two optical drives, he should not care about device
> permanence.  That's the point of udev.
>
> If he has multiple optical drives, though, Sven is correct to look
> in /etc/udev/rules.d/z25_persistent-cd.rules.



Thanks for your help.  Editing /etc/udev/rules.d/z25_persistent-cd.rules
worked the problem out.

Bye
Rodolfo


Reply to: