Slack11 udev question
I did a clean install of slack11 with huge26.s and udev enabled.
Hotplug is disabled and udev seems to work, but my /dev directory has about 2600 elements. Searching in the forum for "udev" gives me nearly the same amount of threads, so sorry if there is an answer I didn´t see. I did a full install, kicked off the 2.4 kernel stuff and modules, installed everything for 2.6.17.13 (the huge one), disabled hotplug and rebootet. No further modification but configuring xorg.conf. Why are there so much devices in /dev? |
184, 165
Slack 11 with udev and 2.6 SMP kernel
My /dev has 184 elements. 165 files. I remasterized the installer CDs, eliminated the 2.4 kernels and modules and installed right away with the 2.6 SMP kernel and modules. (it's all I did by now just for testing purposes). Using only udev. No hotplug. No problems so far. Have you tried entering level 1, stopping udev and reinstalling devs and udev? (or maybe a similar procedure using a live CD (or the Slackware CD1 or the DVD)) I read somewhere that for upgrading those things udev must not be running otherwise it will cause problems. Good luck! |
Reinstalling in runlevel 1 sounds good, I´ll try it. But will it delete the unnessasary devices in /dev or should I do that manually?
|
Hi there
Hallo
I think the "normal" reinstall procedure *should* delete the junk in /dev; but I'm not sure. If it doesn't... use the CD1 or SLAX and do it manually (I feel it wouldn't be safe doing it by hand) Good luck! |
Do not delete the contents of /dev. If you do you will not have a usable system. It is needed during the boot sequence until udev is up and running, which will then sort it out.
Are you sure udevd is running. Do ps -A | grep udevd do find out. If it is not running go to /etc/rc.d and check that rc.udev is executable. :) |
Udev is running and executable, hotplug is deactivated, trust me ;-)
I did a reinstall in runlevel 1 with udev stopped and unmounted everything but / and swap. Now there are 20 folders and 719 files in /dev while the system is running. While the system is NOT running and mounted from slax there are about 2600 entrys, but that doesn´t matter. My 10.2 has 18 folders and 689 files with udev and hotplug enabled. I don´t know what is "normal", it´s still a lot compared to folkenfanels 184 entrys. |
You have around the same amount as me and I expect alot of others.
If you look alot of them will be pty's and tty's amongst other. I t will depend how your kernel is configured. :) |
My udev didn't start working until I had a /sys mount point. rc.S automagically mounts it upon boot, but I needed it to exist for udev to properly function.
I know udev is working and this are images of my /dev listing. I am not sure why folkenfanel has 184 items unless he has a very specific recompiled kernel. http://img91.imageshack.us/img91/9447/devrf9.png |
Snowtigger, you are right, almost tty´s and pty´s. My kernel is huge26.
So if you think 700 entrys are ok in this case I stop worrying about udev. Thanks a lot. Now I can go on configuring other things (hopefully) without a headache ;-) |
All times are GMT -5. The time now is 02:34 PM. |