hal/tools/linux hal_hotplug.c,1.19,1.20
David Zeuthen
david at freedesktop.org
Tue Aug 31 09:53:44 PDT 2004
Update of /cvs/hal/hal/tools/linux
In directory gabe:/tmp/cvs-serv15769/tools/linux
Modified Files:
hal_hotplug.c
Log Message:
2004-08-31 David Zeuthen <david at fubar.dk>
* hald/linux/block_class_device.c:
(detect_media): Don't poll on drives with storage.removable set to FALSE
(block_class_pre_process): Use the /sys/block/<drive>/removable file
* tools/device-manager/DeviceManager.py: Don't print out Conditions;
should give us more headroom until D-BUS is fixed wrt. rules maximum
and subscription of signals in the python bindings
* tools/linux/hal_hotplug.c: Wait for 'removable' file for 'block'
system events
Index: hal_hotplug.c
===================================================================
RCS file: /cvs/hal/hal/tools/linux/hal_hotplug.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- hal_hotplug.c 31 Aug 2004 13:08:35 -0000 1.19
+++ hal_hotplug.c 31 Aug 2004 16:53:40 -0000 1.20
@@ -130,6 +130,7 @@
static const char *file_list_block[] = {
"dev",
"size",
+ "removable",
NULL
};
More information about the hal-commit
mailing list