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.
All I want to do is delete all the extraneous devices in .udev.tdb
and start over. How do I do that?
Thanks!
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
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.
On Sun, 2004-01-04 at 02:24, walt wrote:
>
> > 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.
Forgot to say in other mail to you - I had weird issues with nodes
that was not yet sysfs'ified in the past due to strange permissions
(this is now aside those on ptmx). Try rc1-mm1 for misc/vc sysfs
support (might be a fluke, but I have not yet had strange going on's
since Greg posted them, so maybe it might be /dev/null, etc that
caused issues for me, that did it for you as well), or if you roll
your own kernels, I will be glad to post you the patches off list if
you cannot find them here.
--
Martin Schlemmer