udevdb

Arvind Ayyangar arvind.ayyangar at gmail.com
Thu Aug 17 12:22:51 PDT 2006


the coldplug.c  has code to check if udev has something stored in its
database.. i guess these files are the .uevent files that udev created
during boot for every device in the sysfs filesystem. By writing add to that
file, the kernel will just emit exactly the same event again, as the one
lost during bootup. A simple loop over all uevent files in /sys triggers all
events again, to create the device nodes and do the device setup. after, the
contents of the file should be emty...

Now, if i restart hal after boot up, i obviously should not find any data in
these files, but i still get data from 'udev databases'..
Does this databases refer to some other files or the ones I am talking
about... If it is the same, how am i gettin data aftr bootup?

-- 
Regards
  ARviND AyyangaR

"Success is not measured by what a man accomplishes, but by the opposition
he has encountered, and the courage with which he maintained the struggle
against overwhelming odds."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20060817/42cd0502/attachment.html


More information about the hal mailing list