Re: Technical udev question for Greg

From: Greg KH
Date: Sat Jan 03 2004 - 16:53:24 EST


On Sat, Jan 03, 2004 at 12:47:08PM -0800, walt wrote:
> Hi Greg,
>
> I think I acidentally screwed up by running 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.

> 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

That should do it.

greg k-h
-
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/