[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to minimize /dev (using udev)?



Henrique de Moraes Holschuh wrote:
On Thu, 26 Jan 2006, Marty wrote:
udev handles that.

Not if you are booting in emergency mode, it doesn't.  Suddenly you will
have to jump through a lot more loops to get enough of the system running to
do whatever you need if for some reason you cannot simply run udev.

It can happen if you don't realize that your /dev devices are no longer backing up and you try to clone a drive. On another occasion I deleted /.dev because I thought it was caused by a typo. :-)


Really, don't bother too much with /dev, it is much better to have extra
crap in there than anything missing, and they usually only eat up some
inodes.  This is especially true for /dev/.static (the boot-time /dev).

If you feel udev is adding too much clutter, *disable the devices in the
kernel*. Reduce the number of supported tty in the kernel. Remove every crap
you don't need.  You'll notice udev will follow suit.

Why do people jump into threads without understanding the context?

In this case, he is correct.  Messing with /dev/.static is not a terribly
good idea.


Probably not. Getting back to the topic, I still think it would still be interesting to know why there is a 10 fold difference in the number of devices on otherwise similar Sarge boxes.



Reply to: