SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My cdrom and dvd links points ro /dev/hdd instead of /dev/hdc. so i rm -f cdrom and dvd. then i recreated the link for both this time making sure that it points to /dev/hdc. The weired thing is that when i restart my pc the links are recreated to ponit to /dev/hdd and my old liks removed.
What is happening ? How do i stop the links from being recreated after i have done the right thing.
I noticed that every time i boot my pc all the devices in /dev are created afresh . The cdrom and dvd devices however point to hdd instead of hdc. When i recreate the links and make them point to hdc , they are overwritten with the wrong link upon reboot.
I thinks it has something to do with the scripts in /etc/udev but i have gone thru them amd i don't know what and which file to change.
Thnx Lems, the code didn't work but it helped me find a solution. What i did was i changed the KERNEL entry for
Code:
# permissions for IDE CD devices
BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy*", NAME="%k", GROUP="floppy", MODE="0660"
To
Code:
# permissions for IDE CD devices
BUS="ide", KERNEL="hdc", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", GROUP="cdrom", MODE="0660"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.