hal/hald/linux block_class_device.c,1.58,1.59
David Zeuthen
david at freedesktop.org
Mon Aug 23 13:46:43 PDT 2004
Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv1554/hald/linux
Modified Files:
block_class_device.c
Log Message:
2004-08-23 David Zeuthen <david at fubar.dk>
* hald/linux/block_class_device.c (detect_media):
(block_class_pre_process): Set volume.is_filesystem to FALSE by default
Index: block_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/block_class_device.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- block_class_device.c 23 Aug 2004 14:40:54 -0000 1.58
+++ block_class_device.c 23 Aug 2004 20:46:40 -0000 1.59
@@ -914,6 +914,7 @@
hal_device_property_set_string (child, "info.product", "Volume");
/* set defaults */
+ hal_device_property_set_bool (d, "volume.is_filesystem", FALSE);
hal_device_property_set_string (child, "volume.fstype", "");
hal_device_property_set_string (child, "volume.uuid", "");
hal_device_property_set_string (child, "volume.label", "");
@@ -1174,6 +1175,7 @@
hal_device_property_set_string (d, "volume.fstype", "");
hal_device_property_set_string (d, "volume.label", "");
hal_device_property_set_string (d, "volume.uuid", "");
+ hal_device_property_set_bool (d, "volume.is_filesystem", FALSE);
hal_device_property_set_bool (d, "volume.is_disc", FALSE);
hal_device_property_set_bool (d, "volume.is_mounted", FALSE);
@@ -1199,6 +1201,7 @@
* GRRRR!!!
*/
hal_device_property_set_string (d, "volume.fstype", "vfat,auto");
+ hal_device_property_set_bool (d, "volume.is_filesystem", TRUE);
}
volume_set_size (d, FALSE);
More information about the hal-commit
mailing list