LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-02-2004, 10:07 PM   #1
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
contents of /dev change at every boot?


hi,

after realizing that many files in /dev are not used at all, i removed all of them there and then followed instructions from linux from scratch to create only those device files i need. i wasn't aware of dsp, so i didn't create it. then i found out that i needed it to have sound; so i created it like this "mknod -m 660 /dev/dsp c 14 0." then i got sound.

however, after reboot, no sound -> i looked in /dev. dsp was gone -> recreated it -> reboot -> dsp was gone -> ... and not only dsp that kept disappearing, but also the intructions file from lfs that i copied into /dev.

now i have to add "mknod -m 660 /dev/dsp c 14 0" to /etc/rc.d/rc.local.

any ideas on what's going on? thanks.
 
Old 07-02-2004, 10:36 PM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Why don't you move on to 2.6.* kernel ?
Slackware 10 comes with rc.udev which will detect what devices you have on your machine and create the appropriate dev node for on the fly.

For example, when you plug in your pen-drive, it will automagically create /dev/sda and /dev/sda1 (if applicable).
 
Old 07-02-2004, 11:33 PM   #3
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
hi,
i am using kernel 2.6. but you're right. i went in /dev/sound, mv dsp dsp.BAK, and reboot. when i logged back in, dsp.BAK was gone, but dsp was there.
thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to read and change the contents of a text file? Bassam Linux - General 11 02-26-2004 04:08 AM
how to change /dev/hdd to /dev/zip in Suse 9.0 scarah Linux - Hardware 9 01-15-2004 03:33 PM
change contents of RPM's ??? acb67 Linux - General 1 07-31-2003 11:40 PM
how to change GNOME menu contents in RedHat 8? winex_user Linux - Software 2 02-07-2003 04:12 PM
/dev contents te_conway Linux - General 2 12-29-2001 10:46 PM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration