View previous topic :: View next topic |
Author |
Message |
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Oct 02, 2002 2:50 pm Post subject: /dev is full of ... |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Oct 02, 2002 3:06 pm Post subject: |
|
|
Are you using devfs? _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Oct 02, 2002 7:54 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|