Lines Matching full:mount
30 #include <sys/mount.h>
55 * current working directory was named 'dataset' then mount(8) in parse_dataset()
89 * available otherwise fallback to legacy mode. The mount(8) utility will
192 (void) fprintf(stderr, gettext("Usage: mount.zfs " in main()
211 (void) fprintf(stderr, "usage: mount <dataset> <mountpoint>\n"); in main()
217 /* canonicalize the mount point */ in main()
225 /* validate mount options and set mntflags */ in main()
240 "to ignore the bad mount option.\n")); in main()
263 /* try to open the dataset to access the mount point */ in main()
276 /* treat all snapshots as legacy mount points */ in main()
285 * back from the mount command, since we need the zfs handle in main()
298 * Legacy mount points may only be mounted using 'mount', never using in main()
299 * 'zfs mount'. However, since 'zfs mount' actually invokes 'mount' in main()
300 * we differentiate the two cases using the 'zfsutil' mount option. in main()
301 * This mount option should only be supplied by the 'zfs mount' util. in main()
306 * systemd depend on 'mount -o remount <mountpoint>' to work. in main()
310 "filesystem '%s' cannot be mounted using 'zfs mount'.\n" in main()
311 "Use 'zfs set mountpoint=%s' or 'mount -t zfs %s %s'.\n" in main()
322 "filesystem '%s' cannot be mounted using 'mount'.\n" in main()
323 "Use 'zfs set mountpoint=%s' or 'zfs mount %s'.\n" in main()
332 (void) fprintf(stdout, gettext("mount.zfs:\n" in main()
350 error = mount(dataset, mntpoint, MNTTYPE_ZFS, in main()
361 (void) fprintf(stderr, gettext("mount point " in main()
377 gettext("filesystem '%s' mount " in main()
386 "this mount\noption may be disabled in " in main()
389 "mount the filesystem again.\n"), dataset); in main()