Lines Matching refs:volume

588 	/* trigger initial probe-volume */
633 /* remove child (can only be single volume) */
707 * sd instance -> HAL storage, sd minor node -> HAL volume,
851 * For volume's devfs_path we'll use minor_path/slice instead of
872 * Storage minor nodes are potential "volume" objects.
896 HalDevice *volume;
1024 /* XXX detect volume removal? */
1025 volume = hal_device_store_match_key_value_string (hald_get_gdl (),
1027 if ((volume == NULL) || !hal_device_has_capability(volume, "volume")) {
1030 HAL_INFO(("rescan volume exists %s", m->devpath));
1069 hal_device_property_set_string (d, "info.category", "volume");
1077 hal_device_add_capability (d, "volume");
1090 /* set volume defaults */
1091 hal_device_property_set_string (d, "volume.fstype", "");
1092 hal_device_property_set_string (d, "volume.fsusage", "");
1093 hal_device_property_set_string (d, "volume.fsversion", "");
1094 hal_device_property_set_string (d, "volume.uuid", "");
1095 hal_device_property_set_string (d, "volume.label", "");
1096 hal_device_property_set_string (d, "volume.mount_point", "");
1097 hal_device_property_set_bool (d, "volume.is_mounted", FALSE);
1099 hal_device_property_set_bool (d, "volume.is_disc", TRUE);
1100 hal_device_add_capability (d, "volume.disc");
1102 hal_device_property_set_bool (d, "volume.is_disc", FALSE);
1106 hal_device_property_set_bool (d, "volume.is_partition", TRUE);
1107 hal_device_property_set_int (d, "volume.partition.number", dosnum);
1109 hal_device_property_set_bool (d, "volume.is_partition", FALSE);
1113 hal_device_property_set_int (d, "volume.block_size", 512);
1144 HAL_INFO (("Malformed volume properties %s", hal_device_get_udi (d)));
1175 "hald-probe-volume", NULL,
1191 HAL_INFO(("Preprobing volume udi=%s", hal_device_get_udi (d)));
1199 HAL_INFO (("Ignoring volume: parent's info.ignore is TRUE"));
1327 return "hald-probe-volume";
1398 HAL_INFO (("nothing to do for volume"));
1416 HAL_INFO (("child volume %s", hal_device_get_udi (v)));
1417 if ((v_devfs_path != NULL) && hal_device_has_capability (v, "volume")) {
1418 HAL_INFO (("removing volume %s", hal_device_get_udi (v)));
1421 HAL_INFO (("not a volume %s", hal_device_get_udi (v)));
1535 volumes = hal_device_store_match_multiple_key_value_string (hald_get_gdl (), "info.category", "volume");
1556 is_partition = hal_device_property_get_bool (d, "volume.is_partition");
1557 partition_number = hal_device_property_get_int (d, "volume.partition.number");
1558 fstype = hal_device_property_get_string (d, "volume.fstype");
1568 /* this volume matches the mnttab entry */
1570 hal_device_property_set_bool (d, "volume.is_mounted", TRUE);
1571 hal_device_property_set_bool (d, "volume.is_mounted_read_only",
1573 hal_device_property_set_string (d, "volume.mount_point", m.mnt_mountp);
1585 mount_point = g_strdup (hal_device_property_get_string (d, "volume.mount_point"));
1592 hal_device_property_set_bool (d, "volume.is_mounted", FALSE);
1593 hal_device_property_set_bool (d, "volume.is_mounted_read_only", FALSE);
1594 hal_device_property_set_string (d, "volume.mount_point", "");
1663 mount_point = hal_device_property_get_string (d, "volume.mount_point");
1686 if (hal_device_property_get_bool (d, "volume.is_mounted")) {