Re: Technical udev question for Greg

From: walt
Date: Sat Jan 03 2004 - 19:33:56 EST


Greg KH wrote:
On Sat, Jan 03, 2004 at 12:47:08PM -0800, walt wrote:

I acidentally ran a script which ran MAKEDEV
while udev was running.

Now /dev/.udev.tdb is very large and devices have strange permissions
they didn't have before.


As udev didn't get called when runinng MAKEDEV, I don't see how the udev
database could have grown.

Well, after doing the steps below the size of the db didn't seem any
smaller, true enough.


All I want to do is delete all the extraneous devices in .udev.tdb
and start over. How do I do that?


rm -rf /dev/*
rm -f /dev/.udev.tdb
/etc/init.d/udev start

However, after doing the above and recreating a few missing devices
the behavior of the machine seems back to normal, so clearly I did
something that mattered. I don't pretend to understand how or why,
but thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/