Lines Matching refs:mount
30 #include <sys/mount.h>
84 * want to use `--ext-mount-map auto`'s result here because the pts
156 * -o $(directory)/$(action).log --ext-mount-map auto
158 * --enable-fs hugetlbfs --enable-fs tracefs --ext-mount-map console:/dev/pts/n
251 DECLARE_ARG("--ext-mount-map");
346 /* only add --ext-mount-map for actual bind mounts */
367 DECLARE_ARG("--ext-mount-map");
401 DECLARE_ARG("--ext-mount-map");
446 DECLARE_ARG(opts->c->lxc_conf->rootfs.mount);
467 DECLARE_ARG("--ext-mount-map");
844 * mount. */
851 if (mkdir(rootfs->mount, 0755) < 0 && errno != EEXIST)
854 if (mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL) < 0) {
859 if (mount(rootfs->path, rootfs->mount, NULL, MS_BIND, NULL) < 0) {
860 rmdir(rootfs->mount);
894 umount(rootfs->mount);
895 rmdir(rootfs->mount);