Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev lists 600+ devices!? (not using a tarball at boot)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Tue Jul 05, 2005 3:51 am    Post subject: udev lists 600+ devices!? (not using a tarball at boot) Reply with quote

Ok. I'm using udev-058 and when I go to /dev/ I have over 600 devices listed. Now obviously I don't have that many connected to my computer. I read the Gentoo udev guide and I've been searching the forums for quite a while and I can't seem to find why this is happening.

For most of the people with this problem simply editing their

/etc/conf.d/rc

and changing

RC_DEVICE_TARBALL="no"

solved their problem. Well that certainly helped my situation; i went from 1200 devices to 600 devices but obviously it's still a problem. Any ideas?
_________________
Debian on a Dell latitude D600: http://d600.elwiki.com/
There is no such thing as a stupid question. They are just the easiest to answer.


Last edited by beissemj on Tue Jul 05, 2005 6:56 am; edited 1 time in total
Back to top
View user's profile Send private message
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Tue Jul 05, 2005 6:56 am    Post subject: Reply with quote

Ok well I set gentoo=udev and devfs=nomo in my grub.conf but still no luck. also reemerged udev, hotplug, coldplug, and baselayout. perhaps i need to make some udev rules?
_________________
Debian on a Dell latitude D600: http://d600.elwiki.com/
There is no such thing as a stupid question. They are just the easiest to answer.
Back to top
View user's profile Send private message
bonbons
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 250

PostPosted: Tue Jul 05, 2005 7:04 pm    Post subject: Reply with quote

Maybe we could help if you listed the kind of devices you have...

I have around 700 devs, most of them are ttys and virtual consoles.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Tue Jul 05, 2005 7:11 pm    Post subject: Reply with quote

and probably over 50% are symlinks, hence you dont actually have 600 devices. you should post where you got your count from...
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Tue Jul 05, 2005 7:20 pm    Post subject: Reply with quote

ok well is having so many devices normal?

i'd say about 500+ of them are
ptya0, ptya1, ptya2, etc
tty0, tty1, tty2, etc

and the rest are like
ram0, ram1, etc

is having that many normal? from my understanding I thought udev only detected the devices that were present so i figured it should be alot less. the count i just took from

Code:

# cd /dev/ (tab complete)
Display all 692 possibilities? (y or n)


anyway to get rid of all the symlinks? if that's what most of them are? or is that not a good idea.
_________________
Debian on a Dell latitude D600: http://d600.elwiki.com/
There is no such thing as a stupid question. They are just the easiest to answer.
Back to top
View user's profile Send private message
bonbons
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 250

PostPosted: Tue Jul 05, 2005 7:28 pm    Post subject: Reply with quote

Yes, I have about 27% devices and all the rest are symlinks.

With the following code I get 200 devices and 667 symbolic links:
Code:
ls -lR /dev/ | grep '^[cb]' | less
ls -lR /dev/ | grep '^l' | less
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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