On Wed, 2005-02-09 at 17:30 +0000, Sam Morris wrote: > Maykel Moya wrote: > > I recently realized that I had /.dev, after that, I rm -fr it what > > rendered my system unbootabled. > > > > Can somebody point me to info regarding /.dev. I have dig > > in /usr/share/doc/udev and Google but found nothing. > > $ mount | grep \\.dev > /dev on /.dev type unknown (rw,bind) > > When udev starts, your real /dev is bind mounted to /.dev so you can > still access it for whatever reason. As you have noticed, wiping it out > removes your real /dev, which means that your system won't be able to > boot up to the point where it would normally start udev. :( > > Some argue that this is one of the places where the old devfs is > superior to udev. ;)
One thing I do know is that traditional apps like df (and anything that uses stat(), I guess) don't know about /.dev, and so return false information: $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda3 9843308 5428016 3915272 59% / tmpfs 501936 0 501936 0% /dev/shm /dev/hda2 46668 20415 23844 47% /boot /dev/hda5 2995936 1790220 1205716 60% /home /dev/hda6 105280504 78681360 21251108 79% /data /dev 9843308 5428016 3915272 59% /.dev none 5120 2564 2556 51% /dev -- ----------------------------------------------------------------- Ron Johnson, Jr. Jefferson, LA USA PGP Key ID 8834C06B I prefer encrypted mail. "I take my children everywhere, but they always find their way back home." Robert Orben
signature.asc
Description: This is a digitally signed message part