Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Okay, so I'm pretty new to Linux, and using Gentoo because I got fed up with the lack of PPC binaries, and decided that Portage was a pretty cool solution.
Anyways, I've used Ubuntu and RHEL previously and before, the /dev/ directory has usually been pretty tidy; consisting of a handful of devices. My /dev/ directory on a fresh install of Gentoo 2005.1 has some 100 directories by the look of it, many for devices I don't have and haven't compiled support for (ie: radio1, radio3, radioab, radioetc...) and a few dozen PTYs.
Any idea why this is happening? I'm assuming it has something to do with udev, although I'll admit that I know bugger-all about udev or devfs or what they even do.
I wouldn't worry too much. None of these devices take up any disk space, and it is generally nicer to have the device there if you need it rather than sorting out how to create it if it isn't there. BTW udev and devfs cannot be used together. So which are you using? If it is a new install then probably udev, as devfs is deprecated.
If you are still concerned then I suggest you have a gander at the gentoo udev guide (in the documentation listing page) or read about udev on the wiki. Especially pay attention on using a strait udev system rather than using the device tarball (which sort of negates the purpose of udev...)
Aye, I'm on udev (new install, plus specifying "nodevfs udev" as kernel arguments), and while I'm not worried about disk space, I did like that Ubuntu and RHEL made it easy to see if a device was connected through a quick glance at /dev/, but while trying to truobleshoot a SATA drive (whole other issue there), /dev/ is reporting four serial devices, but only one of them is a block and the other three are... console devices? Bit of a pain.
I've skimmed the udev guide at lunch, but once I get off work I'm going to give it a thorough reading. If Gentoo hasn't taught me anything else, it's to read the bloody manual. Twice.
Thanks for the help though!
Last edited by 8-bitDesigner; 01-17-2006 at 09:24 PM.
Ah perfect! The RC_TARBALL option was exactly what I was looking for. I'd missed that the first time through. Now, I'm recompiling the kernel to limit PTY devices to 16 (do I actually need these?) and seeing if I can similarly limit TTY devices.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.