Annotation of /trunk/hal/patches/hal-0.5.7.1-floppies-fix.patch
Parent Directory | Revision Log
Revision 144 -
(hide annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 581 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 581 byte(s)
-import
1 | niro | 144 | diff -Naur hal-0.5.7.1.orig/hald/linux2/hotplug.c hal-0.5.7.1/hald/linux2/hotplug.c |
2 | --- hal-0.5.7.1.orig/hald/linux2/hotplug.c 2007-01-22 15:31:45.322111812 +0100 | ||
3 | +++ hal-0.5.7.1/hald/linux2/hotplug.c 2007-01-22 15:31:15.594276651 +0100 | ||
4 | @@ -283,6 +283,7 @@ | ||
5 | |||
6 | len = strlen(hotplug_event->sysfs.sysfs_path); | ||
7 | is_partition = (isdigit(hotplug_event->sysfs.sysfs_path[len - 1]) | ||
8 | + && (! strstr(hotplug_event->sysfs.sysfs_path, "/block/fd")) | ||
9 | && ! strstr(hotplug_event->sysfs.sysfs_path, "/block/sr")) || | ||
10 | strstr (hotplug_event->sysfs.sysfs_path, "/fakevolume") ; | ||
11 |