Searched defs:mount (Results 1 - 4 of 4) sorted by relevance
| /lxc/src/lxc/bdev/ |
| H A D | bdev.h | 32 #include <sys/mount.h> 69 // mount requires src and dest to be set. 70 int (*mount)(struct bdev *bdev); member in struct:bdev_ops 75 /* given original mount, rename the paths for cloned container */ 85 * 'lxc.rootfs' value, dest will be mount dir (i.e. $libdir/lxc) When clone 109 * in case of mount/umount.
|
| /lxc/hooks/ |
| H A D | unmount-namespace.c | 34 #include <sys/mount.h> /* umount2 */ 67 struct mount { struct 73 static void mount_free(struct mount *mnt) { 80 struct mount *a = (struct mount*)a_; 81 struct mount *b = (struct mount*)b_; 88 static int mount_should_error(const struct mount *mnt) { 96 * our /self. We then use openat(2) to avoid having to mount a temporary /proc. 98 static int read_mounts(int procfd, struct mount **m [all...] |
| /lxc/src/lxc/ |
| H A D | conf.h | 219 * optionals pivot_root, rootfs mount paths 221 * @mount : where it is mounted 222 * @options : mount options 227 char *mount; member in struct:lxc_rootfs 245 LXC_AUTO_CGROUP_RO = 0x010, /* /sys/fs/cgroup (partial mount, read-only) */ 246 LXC_AUTO_CGROUP_RW = 0x020, /* /sys/fs/cgroup (partial mount, read-write) */ 247 LXC_AUTO_CGROUP_MIXED = 0x030, /* /sys/fs/cgroup (partial mount, paths r/o, cgroup r/w) */ 248 LXC_AUTO_CGROUP_FULL_RO = 0x040, /* /sys/fs/cgroup (full mount, read-only) */ 249 LXC_AUTO_CGROUP_FULL_RW = 0x050, /* /sys/fs/cgroup (full mount, read-write) */ 250 LXC_AUTO_CGROUP_FULL_MIXED = 0x060, /* /sys/fs/cgroup (full mount, paren [all...] |
| H A D | conf.c | 45 #include <sys/mount.h> 231 "pre-start", "pre-mount", "mount", "autodev", "start", "stop", "post-stop", "clone", "destroy" }; 533 ret = mount(rootfs, target, "none", MS_BIND | MS_REC | mntflags, mntdata); 658 * to do one MS_BIND mount and then MS_REMOUNT|MS_RDONLY the same 659 * one. According to mount(2) manpage, MS_BIND honors MS_RDONLY from 664 * fs is remounted read-only or the mount fails because it's busy... 697 source = lxc_string_replace("%r", conf->rootfs.path ? conf->rootfs.mount : "", default_mounts[i].source); 709 destination = lxc_string_replace("%r", conf->rootfs.path ? conf->rootfs.mount : "", default_mounts[i].destination); 719 r = safe_mount(source, destination, default_mounts[i].fstype, mflags, default_mounts[i].options, conf->rootfs.path ? conf->rootfs.mount 2070 make_anonymous_mount_file(struct lxc_list *mount) argument 2110 setup_mount_entries(const struct lxc_rootfs *rootfs, struct lxc_list *mount, const char *lxc_name, const char *lxc_path) argument [all...] |
Completed in 36 milliseconds