Searched refs:mounts (Results 1 - 5 of 5) sorted by relevance

/lxc/hooks/
H A Dunmount-namespace.c23 * before continuing with other tasks. Without this hook the cleanup of mounts
86 * we're interested in. (There might also still be /dev/cgroup mounts).
93 /* Read mounts from 'self/mounts' relative to a directory filedescriptor.
95 * need to access /proc/self/mounts and the container's /proc doesn't contain
104 struct mount *mounts = (struct mount*)malloc(capacity * sizeof(*mounts)); local
106 if (!mounts) {
114 fd = openat(procfd, "self/mounts", O_RDONLY);
116 free(mounts);
165 struct mount *mounts; local
[all...]
/lxc/src/lxc/tools/
H A Dlxc-checkconfig.in121 CGROUP_MNT_PATH=`print_cgroups cgroup /proc/self/mounts | head -n 1`
/lxc/templates/
H A Dlxc-centos.in289 [ -e /etc/mtab ] || ln -s /proc/mounts /etc/mtab
H A Dlxc-debian.in79 ln -s /proc/self/mounts "$rootfs/etc/mtab"
H A Dlxc-opensuse.in224 ln -sf /proc/self/mounts $cache/partial-$arch/etc/mtab

Completed in 12 milliseconds