Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi,
I think my /dev is a little overpopulated... So I recently installed udev.
But /dev is still as filled. Since udev recreates dev dynamicakky when I boot; is it ok to just rm everything in dev?
I'm not sure if that is the best idea. I am reasonably certain that you still need a few static entries ie: /dev/console to boot up. Which ones are necessary I cannot recall but I think there are 3 you need to have. I am not sure. In any event, if you want to try I strongly recommend backing up your /dev directory before you rm them. Just run "tar cf dev.tar dev" from '/' directory.
EDIT: I just had a look at the gentoo udev guide, and it would seem that all you need to keep for a successful boot is /dev/console and /dev/null
However, make a backup please...I don't want my advice to bork your system.
it's a little hard to say because i don't know about gentoo
basically keep
console and null as said earlier
and check with
ls -l
if you have links in there to the /proc filesystem leave those
and if you have mountpoints in there from fstab lke /dev/pts or dev/shm leave those as well
Ok,
Lokee go boom boom! Did an 'rm -rf /dev/*'...
Of course it was under single mode...
I then typed 'reboot'...
The machine froze; reset! And it worked!
Except that my dev is still as cluttered has before... Oh well; I guess it's normal...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.