Skip to contentSkip to conversation

udev-076 and wait_for_sysfs removal

DISCUSSION Mika Penttilä 2 participants 3 messages Nov 25, 2005

lore
Share & tools
lore
#0 lore raw

RELEASE-NOTES informs to compensate removal of wait_for_sysfs with :

    ACTION="add", DEVPATH="/devices/*", ENV{PHYSDEVBUS}="?*", 

WAIT_FOR_SYSFS="bus"

Shouldn't class and block devices have this kind of treatment also?

Thanks,
Mika

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 5 lines · Mika Penttilä

RELEASE-NOTES informs to compensate removal of wait_for_sysfs with :

   ACTION="add", DEVPATH="/devices/*", ENV{PHYSDEVBUS}="?*", 

WAIT_FOR_SYSFS="bus"

Shouldn't class and block devices have this kind of treatment also?

If a class/ block device has a "device" link, which means it is backed by a physical device with a "bus", udevd will delay the execution of the class/block event until the event for the "device" has finished. So, this should work just by resolving the dependencies, if there isn't something going wrong in sysfs.

Kay

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Mika Penttilä
Quoted 11 lines · Kay Sievers
Quoted 7 lines · Mika Penttilä

RELEASE-NOTES informs to compensate removal of wait_for_sysfs with :
ACTION="add", DEVPATH="/devices/*", ENV{PHYSDEVBUS}="?*",
WAIT_FOR_SYSFS="bus"

Shouldn't class and block devices have this kind of treatment also?

Quoted 10 lines

If a class/ block device has a "device" link, which means it is backed by a physical device with a "bus", udevd will delay the execution of the class/block event until the event for the "device" has finished. So, this should work just by resolving the dependencies, if there isn't something going wrong in sysfs.

Kay

Indeed, didn't remeber that we delay the physical device events we depend on.

Thanks,
Mika

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel