Lines Matching defs:volume

86 	fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
282 if (libhal_device_query_capability (hal_ctx, udi, "volume", &error)) {
342 /* see if a volume is mounted at this mount point */
346 mounted_vol = volume_findby (hal_ctx, "volume.mount_point", _mount_point);
450 LibHalVolume *volume, LibHalDrive *drive, const char *device,
505 if (volume != NULL) {
507 if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", &error) ||
514 * set volume.ignore on all volumes, but still want
523 label = libhal_volume_get_label (volume);
524 uuid = libhal_volume_get_uuid (volume);
601 if (volume != NULL) {
602 if (!libhal_volume_is_mounted (volume)) {
605 mount_dir = g_strdup (libhal_volume_get_mount_point (volume));
613 unknown_error ("Cannot get mount_dir for remount even though volume is mounted!");
617 if (volume != NULL) {
618 if (libhal_volume_is_mounted (volume)) {
635 if (volume != NULL)
636 label = libhal_volume_get_label (volume);
714 allowed_options = libhal_device_get_property_strlist (hal_ctx, udi, "volume.mount.valid_options", &error);
716 unknown_error ("Cannot get volume.mount.valid_options");
786 if (volume != NULL) {
790 if (strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 &&
791 strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 &&
792 strcmp (libhal_volume_get_fstype (volume), "udf") != 0) {
876 } else if (volume == NULL) {
879 } else if (libhal_volume_get_fstype (volume) != NULL && strlen (libhal_volume_get_fstype (volume)) > 0) {
880 mount_do_fstype = (char *) map_fstype (libhal_volume_get_fstype (volume));
1009 (volume != NULL ? libhal_volume_get_fstype (volume) : "") );
1066 LibHalVolume *volume;
1114 volume = libhal_volume_from_udi (hal_ctx, udi);
1115 if (volume == NULL) {
1134 drive_udi = libhal_volume_get_storage_device_udi (volume);
1137 unknown_error ("Cannot get drive_udi from volume");
1146 udi, volume, drive, device, invoked_by_uid,