public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Technical udev question for Greg
@ 2004-01-03 20:47 walt
  2004-01-03 21:47 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: walt @ 2004-01-03 20:47 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Technical udev question for Greg
  2004-01-03 20:47 Technical udev question for Greg walt
@ 2004-01-03 21:47 ` Greg KH
  2004-01-04  0:24   ` walt
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2004-01-03 21:47 UTC (permalink / raw)
  To: walt; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Technical udev question for Greg
  2004-01-03 21:47 ` Greg KH
@ 2004-01-04  0:24   ` walt
  2004-01-04  0:59     ` Martin Schlemmer
  0 siblings, 1 reply; 4+ messages in thread
From: walt @ 2004-01-04  0:24 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Technical udev question for Greg
  2004-01-04  0:24   ` walt
@ 2004-01-04  0:59     ` Martin Schlemmer
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Schlemmer @ 2004-01-04  0:59 UTC (permalink / raw)
  To: walt; +Cc: Greg KH, Linux Kernel Mailing Lists

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-04  0:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-03 20:47 Technical udev question for Greg walt
2004-01-03 21:47 ` Greg KH
2004-01-04  0:24   ` walt
2004-01-04  0:59     ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox