udevtrigger fails to trigger partition events
Hello!
The udevtrigger program from the current git version of udev fails to trigger partition events, because of extra semicolon in the scan_block function.
udevtrigger.c +1 -1
@@ -321,7 +321,7 @@ static void scan_block(void)strlcat (dirname, dent->d_name,sizeof (dirname));if (attr_filtered (dirname))continue ; -if (device_list_insert (dirname) !=0 ); +if (device_list_insert (dirname) !=0 )continue ;/* look for partitions */
Signature · 14 lines
__ ____________________________________________________________________ | \/ | Micha³ Bartoszkiewicz <[email protected]> | _ ) | |\/| | GG:2298240 | _ \ |_| |_|_For all resources, whatever it is, you need more. [RFC1925]_|___/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Kay Sievers
AppliedQuoted 3 lines · MichaÅ‚ Bartoszkiewicz
The udevtrigger program from the current git version of udev fails to trigger partition events, because of extra semicolon in the
scan_blockfunction.
Oops, sorry, I messed that up. I didn't notice it, cause I'm running a kernel with the the block devices in /sys/class/block. :)
Applied to the tree.
Thanks,
Kay
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel