Lines Matching refs:mount

40 #include <sys/mount.h>
253 * will generate a temporary mountpoint to mount the BE at. It
259 * be_name - pointer to name of BE to mount.
261 * altroot - reference pointer to altroot of where to mount BE.
348 * to mount on
366 "mount BE root file system\n"));
377 "mount BE (%s) on %s\n"), bt.obe_name, tmp_altroot);
389 * Mount shared file systems if mount flag says so.
401 * a valid uuid, mount all supported non-global zones.
619 * mountpoint feature is used to mount at the zone root in the
634 "mount zone root dataset %s \nbecause it is "
642 * Temporary mount the zone root dataset.
648 "temporary mount zone root dataset (%s) at %s\n"),
754 /* If BE is not already mounted, mount it. */
760 "failed to mount BE %s\n"), be_name);
812 "failed to mount zone root %s\n"),
991 * Description: This function will temporarily mount a dataset on a randomly
994 * zhp - handle to the dataset to mount.
1014 * Attempt to mount on a temp mountpoint
1023 /* Temporarily mount this filesystem */
1028 "mount dataset %s at %s: %s\n"), zfs_get_name(zhp),
1043 * subordinate file systems and to mount them accordingly.
1047 * data - pointer to the altroot of where to mount BE.
1082 * mountpoint zfs won't immediately try to mount it.
1093 * If the mountpoint is legacy, legacy mount it with mount(2).
1105 * mount it, and just mount it via mount(2) relative
1111 /* Legacy mount the file system */
1112 if (mount(fs_name, mountpoint, MS_DATA,
1116 "failed to mount %s on %s\n"),
1143 * Check to see if the mountpoint we need to mount at
1152 "create mount point %s\n"), mountpoint);
1157 /* Temporarily mount this filesystem */
1162 "mount dataset %s at %s: %s\n"), fs_name, mountpoint,
1169 /* Iterate through this dataset's children and mount them */
1342 * to find and mount all shared filesystems. This function
1391 * to find and mount all shared filesystems. It makes sure to
1465 * zhp - zfs_handle_t pointer to the dataset to loopback mount
1516 /* Add the "nosub" option to the mount options string */
1519 /* Loopback mount this dataset at the altroot */
1520 if (mount(zhp_mountpoint, mountpoint, mflag, MNTTYPE_LOFS,
1524 "failed to loopback mount %s at %s: %s\n"),
1543 * use_tmpfs - mount using tmpfs instead of lofs
1581 * before attempting the loopback mount of zonepath under altroot,
1608 * Now, search mnttab and find mount point of parent dir device.
1662 /* Add the "nosub" option to the mount options string */
1666 if (mount("swap", altzonepath, MS_OPTIONSTR, MNTTYPE_TMPFS,
1670 "failed to tmpfs mount zone path %s\n"),
1689 /* Loopback mount this dataset at the altroot */
1690 if (mount(zonepath, altzonepath, mflag, MNTTYPE_LOFS,
1694 "failed to loopback mount %s at %s: %s\n"),
1710 * loopback mount entries that reside within the altroot of
1766 * loopback mount entries mounted under our altroot.
1965 * altroot - location of where to mount the BE root.
1992 /* Temporary mount the BE's root filesystem */
1997 "mount dataset %s at %s: %s\n"), zfs_get_name(zhp),
2131 /* Generate temporary altroot to mount the root file system */
2141 "mount BE root file system\n"));
2213 "failed to mount zone %s under altroot "
2254 "failed to mount zone %s under "
2329 * mount we need to look for the zonepath
2372 * Description: This function is called to mount one zone for a given
2378 * zonename - name of zone to mount
2379 * zonepath - zonepath of zone to mount
2433 "create mount point %s\n"), zone_altroot);
2446 "mount zone root file system at %s\n"), zone_altroot);
2454 "mount zone subordinate file systems at %s\n"),
2550 * We want to unmount this here since we mounted this as a tmpfs mount
2551 * in our zone mount code.
2558 * never in fact mounted (because we mount zones in a for-loop
2559 * but if any individual zone mount encounters an error we stop