Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev is full of ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Wed Oct 02, 2002 2:50 pm    Post subject: /dev is full of ... Reply with quote

Hi,

I used Gentoo for few months, and as far as I remember /dev was pretty clean, but now /dev is full of crap (more 1500 files/devices).

I saw a thread a while ago (but can't find it anymore) about a similar "pollution" and a way to "reset" the list in /dev, anybody know about that ?

Thx
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Oct 02, 2002 3:06 pm    Post subject: Reply with quote

Are you using devfs?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Wed Oct 02, 2002 7:54 pm    Post subject: Reply with quote

Yes. You have to, no ? If you don't, Gentoo complain that devfs is not compiled in kernel....

Why ?

UPDATE: Ok, the file /etc/devfs.conf was apparently recently modified (I upgraded to gcc 3.2 two weeks ago), and I guess that I erased the old config file with etc-update. Now it looks like that :

Code:
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
# doing!
REGISTER        .*           MKOLDCOMPAT
UNREGISTER      .*           RMOLDCOMPAT

# You may comment out the above and uncomment the following if you've
# configured your system to use the original "new" devfs names or the really
# new names
#REGISTER       vc/.*        MKOLDCOMPAT
#UNREGISTER     vc/.*        RMOLDCOMPAT
#REGISTER       pty/.*       MKOLDCOMPAT
#UNREGISTER     pty/.*       RMOLDCOMPAT
#REGISTER       misc         MKOLDCOMPAT
#UNREGISTER     misc         RMOLDCOMPAT

# You may comment these out if you don't use the original "new" names
REGISTER        .*           MKNEWCOMPAT
UNREGISTER      .*           RMNEWCOMPAT

# Enable module autoloading. You may comment this out if you don't use
# autoloading
LOOKUP          .*           MODLOAD

# Uncomment the following if you want to set the group to "tty" for the
# pseudo-tty devices. This is necessary so that mesg(1) can later be used to
# enable/disable talk requests and wall(1) messages.
REGISTER        ^pty/s.*     PERMISSIONS -1.tty  0600
REGISTER        ^pts/.*      PERMISSIONS -1.tty  0600

...


Unfortunately, I don't know too much about devfs . Can you get rid of the 20+ entries for obsolete floppy format in /dev, and to structured the hundreds of pty*, tty* and vsca* entries ?
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum