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?
"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...
More information about the hal