Lines Matching defs:n

78 	fprintf (stderr, "This program should only be started by hald.\n");
85 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.PermissionDenied\n");
86 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
93 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.PermissionDenied\n");
94 fprintf (stderr, "Device %s is listed in /etc/fstab. Refusing to mount.\n", device);
101 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.AlreadyMounted\n");
102 fprintf (stderr, "Device %s is already mounted.\n", device);
109 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.InvalidMountOption\n");
110 fprintf (stderr, "The option '%s' is not allowed for uid=%s\n", option, uid);
117 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.UnknownFilesystemType\n");
118 fprintf (stderr, "Unknown file system '%s'\n", filesystem);
125 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.InvalidMountpoint\n");
126 fprintf (stderr, "The mount point '%s' is invalid\n", mount_point);
133 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.MountPointNotAvailable\n");
134 fprintf (stderr, "The mount point '%s' is already occupied\n", mount_point);
142 fprintf (stderr, "org.freedesktop.Hal.Device.Volume.CannotRemount\n");
143 fprintf (stderr, "%s not mounted already\n", device);
151 fprintf (stderr, "org.freedesktop.Hal.Device.PermissionDeniedByPolicy\n");
152 fprintf (stderr, "%s refused uid %s\n", privilege, uid);
305 printf (" label '%s' uuid '%s'\n", label ? label : "" , uuid ? uuid : "");
309 printf ("cannot open /etc/fstab\n");
316 printf ("Looking at /etc/fstab entry '%s'\n", entry);
355 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",
365 printf ("%s found in /etc/fstab. Not mounting.\n", entry);
371 printf ("%s found in /etc/fstab. Not mounting.\n", entry);
378 printf ("/etc/fstab: device %s -> %s \n", entry, resolved);
381 printf ("%s (-> %s) found in /etc/fstab. Not mounting.\n", entry, resolved);
402 printf ("cannot open mount list\n");
410 printf ("/proc/mounts: device %s -> %s \n", entry, resolved);
413 printf ("%s (-> %s) found in mount list. Not mounting.\n", entry, resolved);
500 printf ("device = %s\n", device);
501 printf ("invoked by uid = %s\n", invoked_by_uid);
502 printf ("invoked by system bus connection = %s\n", invoked_by_syscon_name);
553 if (mount_point[i] == '\n' ||
564 printf ("mount_point = '%s'\n", mount_point);
565 printf ("mount_fstype = '%s'\n", mount_fstype);
566 printf ("mount_options = '%s'\n", mount_options);
674 printf ("'%s' is an invalid mount point\n", mount_point);
697 printf ("trying dir %s\n", mount_dir);
722 printf ("given_options[%d] = '%s'\n", i, given_options[i]);
724 printf ("allowed_options[%d] = '%s'\n", i, allowed_options[i]);
754 printf ("'%s' is not a number?\n", given);
758 printf ("%s with uid %d\n", allow, uid);
812 printf ("using privilege %s for uid %s, system_bus_connection %s\n", privilege, invoked_by_uid,
825 printf ("cannot lookup privilege\n");
830 printf ("caller don't possess privilege\n");
836 printf ("passed privilege\n");
847 printf ("Cannot create '%s'\n", mount_dir);
860 printf ("Cannot chown '%s' to uid: %d, gid: %d\n", mount_dir,
915 * <device_file>\t<uid>\t<session-id>\t<fstype>\t<options_sep_by_comma>\t<mount point>\n
952 printf ("%d: XYA creating /media/.hal-mtab~\n", getpid ());
959 hal_mtab_buf = g_strdup_printf ("%s%s\t%s\t0\t%s\t%s\t%s\n",
974 printf ("%d: XYA closing /media/.hal-mtab~\n", getpid ());
989 printf ("Cannot execute %s\n", MOUNT);
999 printf ("%s error %d, stdout='%s', stderr='%s'\n", MOUNT, exit_status, sout, serr);
1011 int n;
1012 for (n = 0; serr[n] != '\0'; n++) {
1013 if (serr[n] == '\n') {
1014 serr[n] = ' ';
1023 printf ("rename(2) failed, errno=%d -> '%s'\n", errno, strerror (errno));
1026 printf ("%d: XYA failed renaming /media/.hal-mtab~ to /media/.hal-mtab\n", getpid ());
1031 printf ("%d: XYA done renaming /media/.hal-mtab~ to /media/.hal-mtab\n", getpid ());
1094 printf ("Cannot connect to hald\n");
1102 printf ("Cannot connect to the system bus\n");
1109 printf ("Cannot get libpolkit context\n");