Peter Watson wrote:
On my 2006 box /dev/dvd is a symlink to /dev/hdc and /dev/dvd1 is a symlink
to /dev/hdd.
I need them the other way round ie /dev/dvd linking to /dev/hdd etc, so I
edited them, however when I reboot they return to the original.
Can anyone tell me how these devices are created and how to change them to
what I want permanently.
TIA
--
Pete
Ardnamurchan Scotland
They are created by udev. Because udev uses a pseudo file system
(like /proc and /sys) the device entries are created each time the
system boots. The device entries are controlled by the files in
/etc/udev.rules.d. In this case, the settings are probably in
/etc/udev.rules.d/dvd.rules - something like:
KERNEL="hdc", SYMLINK="dvd"
KERNEL="hdd", SYMLINK="dvd1"
What you want is:
KERNEL="hdc", SYMLINK="dvd1"
KERNEL="hdd", SYMLINK="dvd"
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________