Lines Matching refs:mount

4  * hal-storage-mount.c : Mount wrapper
41 #include <sys/mount.h>
65 #define MOUNT "/usr/sbin/mount"
69 #define MOUNT "/usr/sbin/mount"
73 #define MOUNT "/bin/mount"
89 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
97 fprintf (stderr, "Device %s is listed in /etc/fstab. Refusing to mount.\n", device);
129 fprintf (stderr, "The mount point '%s' is invalid\n", mount_point);
137 fprintf (stderr, "The mount point '%s' is already occupied\n", mount_point);
327 /* (heck, we also do the stuff below in gnome-mount) */
345 /* see if a volume is mounted at this mount point */
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",
405 printf ("cannot open mount list\n");
416 printf ("%s (-> %s) found in mount list. Not mounting.\n", entry, resolved);
426 /* maps volume_id fs types to the appropriate -t mount option */
636 /* figure out mount point if no mount point is given... */
663 /* sanitize computed mount point name, e.g. replace invalid chars with '-' */
676 /* check mount point name - only forbid separators */
681 printf ("'%s' is an invalid mount point\n", mount_point);
688 /* check if mount point is available - append number to mount point */
707 /* XXX should test for being a mount point */
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");
740 /* check mount options */
828 privilege = "hal-storage-fixed-mount-all-options";
830 privilege = "hal-storage-fixed-mount";
834 privilege = "hal-storage-removable-mount-all-options";
836 privilege = "hal-storage-removable-mount";
877 unknown_error ("Cannot create mount directory");
900 /* construct arguments to mount */
982 * <device_file>\t<uid>\t<session-id>\t<fstype>\t<options_sep_by_comma>\t<mount point>\n
1045 /* now try to mount */
1064 char errstr[] = "mount: unknown filesystem type";