Lines Matching refs:label
302 bailout_if_in_fstab (LibHalContext *hal_ctx, const char *device, const char *label, const char *uuid)
308 printf (" label '%s' uuid '%s'\n", label ? label : "" , uuid ? uuid : "");
321 if (label != NULL && g_str_has_prefix (entry, "LABEL=")) {
322 if (strcmp (entry + 6, label) == 0) {
329 /* OK, so what's if someone attaches an external disk with the label '/' and
336 * to your laptop. Bingo, you now have two disks with the label '/'. One must
358 printf ("Wanting to mount %s that has label %s, but /etc/fstab says LABEL=%s is to be mounted at mount point '%s'. However %s (that also has label %s), is already mounted at said mount point. So, skipping said /etc/fstab entry.\n",
359 device, label, label, _mount_point, mounted_vol_device_file, _mount_point);
492 const char *label;
530 label = libhal_volume_get_label (volume);
533 label = NULL;
537 bailout_if_in_fstab (hal_ctx, device, label, uuid);
640 const char *label;
643 label = libhal_volume_get_label (volume);
645 label = NULL;
650 if (label != NULL) {
651 /* best - use label */
652 g_strlcpy (mount_point, label, sizeof (mount_point));