LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2005, 04:19 PM   #1
rovitotv
Member
 
Registered: Jan 2003
Location: Dayton, Ohio
Distribution: Slackware 10.2
Posts: 116

Rep: Reputation: 15
Manually Created Devices Disappear - Slackware 10 Kernel 2.6.9


It appears that if I manually create a device or link like ln -s /dev/sr0 /dev/dvd then reboot the /dev/dvd link disappears. I also have this problem when I use my digital video camera I have to recreate the devices after each reboot. Until I upgraded to kernel 2.6.9 I never had this problem, any ideas on how to make my devices permanent?


Thanks.
 
Old 01-01-2005, 04:53 PM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
2.6 kernels use udev for dynamically creating device nodes when they are needed. Your /dev is now just a partition in RAM and is lost when you switch off, and is recreated when you switch back on again.

To create a permanent symlink, you need to create a udev rule that will always create a symlink from your device to the desired symlink. Try http://www.reactivated.net/udevrules.php for more information on how to do that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB devices on Slackware, kernel 2.6.12.5 jaakkop Linux - Hardware 8 10-08-2005 11:28 PM
created devices don't stay newusermike Linux - Newbie 1 07-31-2005 01:00 AM
Manually remove devices bhughesiii Linux - Hardware 2 12-16-2004 03:58 PM
Can I set the IRQ's for my devices manually? Galik Linux - Hardware 1 06-05-2004 05:43 AM
Help! udev created 51 sound devices! tamills Debian 2 05-17-2004 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration