LinuxQuestions.org
Help answer threads with 0 replies.
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 12-10-2002, 05:12 AM   #1
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 15
unused dev entries a nuisance


hey,

how do I remove all the unused dev entries in my /dev? its quite a pain to see if something is installed right if it looks like i have 99 billion partitions. i think i read somewhere there's a command to get rid of it. thanks,

icy
 
Old 12-10-2002, 05:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't. they don't take up any real space and removing them is never a good idea. you could always install something like devfs which would create dev entries as and when required, but you really shouldn't delete them.
 
Old 12-10-2002, 05:28 AM   #3
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
wow thanks for the fast response, acid. but i dont understand because i really dont need /dev/hdk27. is installation of devfs difficult?

im just trying to see what slack installed my hardware as. i used mandy 8.2 before, and it installed my cd drives as scd0 and 1. my burner isnt being read, and i dont know why. however, they exist, along with 2,3,4,5,and 6. hows that going to help me?

thanks,

icy
 
Old 12-10-2002, 06:48 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Try sr0 and sr1.
 
Old 12-10-2002, 09:39 AM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
To enable DevFS you will need to recompile your kernel with DevFS support, and when you boot it up the clean organized entries should appear under /dev. But beware, you will need to make some symlinks so all the software can find your devices. For example i have USB mouse, that used to be symlinked to /dev/mouse, but with DevFS it was something like /dev/usb/inpu/mice/mouse0 and i had to symlink it to /dev/mouse or else X wouldn't start (or edit XF86Config to point to new mouse location)
HTH
-NSKL
 
Old 12-13-2002, 02:48 AM   #6
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
is recompiling necessary? can i just load it as a module?

icy
 
Old 12-13-2002, 07:45 PM   #7
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I just tried to enable devfs support as a module and it would not allow that option. Which makes sense, since the kernel detects the hardware and would need devfs support when it boots. Not later after a module is loaded.
 
  


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
/dev entries lord-fu *BSD 2 05-27-2005 08:52 AM
/dev entries changing their owner and permissions pulsosu Linux - Security 2 04-11-2005 06:19 PM
Missing /dev/video* entries Perrin7 Fedora 2 12-29-2004 06:39 AM
how are /dev entries created? quatsch Mandriva 3 03-10-2004 09:41 AM
/dev entries NSKL Linux - Hardware 7 01-08-2003 03:48 PM

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

All times are GMT -5. The time now is 09:23 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