SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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)
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.
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.
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 ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.