Lines Matching refs:volume

89 	fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
285 if (libhal_device_query_capability (hal_ctx, udi, "volume", &error)) {
345 /* see if a volume is mounted at this mount point */
349 mounted_vol = volume_findby (hal_ctx, "volume.mount_point", _mount_point);
453 LibHalVolume *volume, LibHalDrive *drive, const char *device,
512 if (volume != NULL) {
514 if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", &error) ||
521 * set volume.ignore on all volumes, but still want
530 label = libhal_volume_get_label (volume);
531 uuid = libhal_volume_get_uuid (volume);
608 if (volume != NULL) {
609 if (!libhal_volume_is_mounted (volume)) {
612 mount_dir = g_strdup (libhal_volume_get_mount_point (volume));
620 unknown_error ("Cannot get mount_dir for remount even though volume is mounted!");
624 if (volume != NULL) {
625 if (libhal_volume_is_mounted (volume)) {
642 if (volume != NULL)
643 label = libhal_volume_get_label (volume);
721 allowed_options = libhal_device_get_property_strlist (hal_ctx, udi, "volume.mount.valid_options", &error);
723 unknown_error ("Cannot get volume.mount.valid_options");
812 if (volume != NULL) {
816 if (strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 &&
817 strcmp (libhal_volume_get_fstype (volume), "udf") != 0) {
819 if (strcmp (libhal_volume_get_fstype (volume),
905 } else if (volume == NULL) {
908 } else if (libhal_volume_get_fstype (volume) != NULL && strlen (libhal_volume_get_fstype (volume)) > 0) {
909 mount_do_fstype = (char *) map_fstype (libhal_volume_get_fstype (volume));
1076 (volume != NULL ? libhal_volume_get_fstype (volume) : "") );
1133 LibHalVolume *volume;
1181 volume = libhal_volume_from_udi (hal_ctx, udi);
1182 if (volume == NULL) {
1201 drive_udi = libhal_volume_get_storage_device_udi (volume);
1204 unknown_error ("Cannot get drive_udi from volume");
1213 udi, volume, drive, device, invoked_by_uid,