Lines Matching defs:volume

512 	/* trigger initial probe-volume */
557 /* remove child (can only be single volume) */
631 * sd instance -> HAL storage, sd minor node -> HAL volume,
775 * For volume's devfs_path we'll use minor_path/slice instead of
796 * Storage minor nodes are potential "volume" objects.
820 HalDevice *volume;
948 /* XXX detect volume removal? */
949 volume = hal_device_store_match_key_value_string (hald_get_gdl (),
951 if ((volume == NULL) || !hal_device_has_capability(volume, "volume")) {
954 HAL_INFO(("rescan volume exists %s", m->devpath));
993 hal_device_property_set_string (d, "info.category", "volume");
1001 hal_device_add_capability (d, "volume");
1014 /* set volume defaults */
1015 hal_device_property_set_string (d, "volume.fstype", "");
1016 hal_device_property_set_string (d, "volume.fsusage", "");
1017 hal_device_property_set_string (d, "volume.fsversion", "");
1018 hal_device_property_set_string (d, "volume.uuid", "");
1019 hal_device_property_set_string (d, "volume.label", "");
1020 hal_device_property_set_string (d, "volume.mount_point", "");
1021 hal_device_property_set_bool (d, "volume.is_mounted", FALSE);
1023 hal_device_property_set_bool (d, "volume.is_disc", TRUE);
1024 hal_device_add_capability (d, "volume.disc");
1026 hal_device_property_set_bool (d, "volume.is_disc", FALSE);
1030 hal_device_property_set_bool (d, "volume.is_partition", TRUE);
1031 hal_device_property_set_int (d, "volume.partition.number", dosnum);
1033 hal_device_property_set_bool (d, "volume.is_partition", FALSE);
1037 hal_device_property_set_int (d, "volume.block_size", 512);
1068 HAL_INFO (("Malformed volume properties %s", hal_device_get_udi (d)));
1099 "hald-probe-volume", NULL,
1115 HAL_INFO(("Preprobing volume udi=%s", hal_device_get_udi (d)));
1123 HAL_INFO (("Ignoring volume: parent's info.ignore is TRUE"));
1251 return "hald-probe-volume";
1322 HAL_INFO (("nothing to do for volume"));
1340 HAL_INFO (("child volume %s", hal_device_get_udi (v)));
1341 if ((v_devfs_path != NULL) && hal_device_has_capability (v, "volume")) {
1342 HAL_INFO (("removing volume %s", hal_device_get_udi (v)));
1345 HAL_INFO (("not a volume %s", hal_device_get_udi (v)));
1459 volumes = hal_device_store_match_multiple_key_value_string (hald_get_gdl (), "info.category", "volume");
1480 is_partition = hal_device_property_get_bool (d, "volume.is_partition");
1481 partition_number = hal_device_property_get_int (d, "volume.partition.number");
1482 fstype = hal_device_property_get_string (d, "volume.fstype");
1492 /* this volume matches the mnttab entry */
1494 hal_device_property_set_bool (d, "volume.is_mounted", TRUE);
1495 hal_device_property_set_bool (d, "volume.is_mounted_read_only",
1497 hal_device_property_set_string (d, "volume.mount_point", m.mnt_mountp);
1509 mount_point = g_strdup (hal_device_property_get_string (d, "volume.mount_point"));
1516 hal_device_property_set_bool (d, "volume.is_mounted", FALSE);
1517 hal_device_property_set_bool (d, "volume.is_mounted_read_only", FALSE);
1518 hal_device_property_set_string (d, "volume.mount_point", "");
1587 mount_point = hal_device_property_get_string (d, "volume.mount_point");
1610 if (hal_device_property_get_bool (d, "volume.is_mounted")) {