/lxc/src/tests/ |
H A D | lxc-test-symlink | 50 lxc.mount.entry = $dirname opt/xxx/dir none bind,create=dir 53 lxc.mount.entry = $dirname /var/lib/lxc/symtest1/rootfs/opt/xxx/dir2 none bind,create=dir 71 mkdir -p $lxcpath/symtest1/rootfs/opt/xxx/dir
|
/lxc/src/lxc/bdev/ |
H A D | lxcdir.c | 68 if (specs && specs->dir) 69 bdev->src = strdup(specs->dir); 99 if (strncmp(path, "dir:", 4) == 0) 112 if (strcmp(bdev->type, "dir")) 129 if (strcmp(bdev->type, "dir"))
|
/lxc/src/lxc/tools/ |
H A D | lxc_create.c | 82 case '6': args->dir = arg; break; 99 {"dir", required_argument, 0, '6'}, 143 --dir=DIR Place rootfs directory under DIR\n\ 241 my_args.bdevtype = "dir"; 259 if (strcmp(my_args.bdevtype, "dir") && strcmp(my_args.bdevtype, "_unset") && 308 if (my_args.dir) 309 spec.dir = my_args.dir;
|
H A D | lxc-start-ephemeral.in | 114 choices=("tmpfs", "dir"), 140 args.storage_type = "dir" 164 dest_path = tempfile.mkdtemp(prefix="%s-" % args.orig, dir=lxc_path)
|
/lxc/src/lua-lxc/ |
H A D | lxc.lua | 356 for dir in lfs.dir(lxc_path) do 357 if (dir ~= "." and dir ~= "..") 359 local cfgfile = lxc_path .. "/" .. dir .. "/config" 365 containers[dir] = true 366 table.insert(containers, dir) 368 local ct = container:new(dir) 370 containers[dir] = ct 371 table.insert(containers, dir) [all...] |
/lxc/src/lxc/ |
H A D | utils.c | 94 DIR *dir; local 99 dir = opendir(dirname); 100 if (!dir) { 105 while ((direntp = readdir(dir))) { 174 ret = closedir(dir); 241 extern int mkdir_p(const char *dir, mode_t mode) argument 243 const char *tmp = dir; 244 const char *orig = dir; 248 dir = tmp + strspn(tmp, "/"); 249 tmp = dir 1538 is_subdir(const char *subdir, const char *dir, size_t len) argument 2089 DIR *dir; local [all...] |
H A D | arguments.h | 93 char *zfsroot, *lowerdir, *dir; member in struct:lxc_arguments
|
H A D | start.c | 194 DIR *dir; local 200 dir = opendir("/proc/self/fd"); 201 if (!dir) { 206 fddir = dirfd(dir); 208 while ((direntp = readdir(dir))) { 234 closedir(dir); 241 closedir(dir); /* cannot fail */
|
H A D | lxccontainer.c | 632 DIR *dir; local 635 dir = opendir("/proc/self/task"); 636 if (!dir) { 641 while ((direntp = readdir(dir))) { 653 closedir(dir); 983 ERROR("Failed to chown container dir"); 990 * create the standard expected container dir 1047 /* if we are not root, chown the rootfs dir to root in the 1114 if (strcmp(bdev->type, "dir") && strcmp(bdev->type, "btrfs")) { 1418 * @bdevtype: backing store type to use. If NULL, dir wil 2298 DIR *dir; local 3521 DIR *dir; local 3681 DIR *dir; local 4234 DIR *dir; local [all...] |
H A D | lxccontainer.h | 310 * \param bdevtype Backing store type to use (if \c NULL, \c dir will be used). 330 * \param bdevtype Backing store type to use (if \c NULL, \c dir will be used). 859 char *dir; /*!< Directory path */ member in struct:bdev_specs
|
H A D | utils.h | 51 extern int mkdir_p(const char *dir, mode_t mode);
|
H A D | confile.c | 1826 DIR *dir; local 1830 dir = opendir(dirp); 1831 if (!dir) { 1836 while ((direntp = readdir(dir))) { 1865 if (closedir(dir)) 1866 WARN("lxc.include dir: failed to close directory");
|
/lxc/hooks/ |
H A D | ubuntu-cloud-prep | 24 Usage: ${0##*/} [options] root-dir 26 root-dir is the root directory to operate on
|
/lxc/templates/ |
H A D | lxc-busybox.in | 364 for dir in $libdirs; do 365 if [ -d "/$dir" ] && [ -d "$rootfs/$dir" ]; then 366 echo "lxc.mount.entry = /$dir $dir none ro,bind 0 0" >> $path/config
|
H A D | lxc-alpine.in | 267 $APK --arch="$arch" --root=. --keys-dir="$APK_KEYS_DIR" \
|
H A D | lxc-gentoo.in | 449 printf "trying to guess portage distfiles dir from host ...\n" 456 #ensure dir exists 724 $1 -h|--help [-a|--arch <arch>] [-v|--variant <variant>] [-P|--private-portage] [--portage-dir <protagedir>] [-t|--tarball <stage3file>] 741 portage-dir: portage dir used for shared portage 782 options=$(getopt -o hp:n:a:FcPv:t:S:u:w:s:m: -l help,rootfs:,path:,name:,arch:,flush-cache,cache-only,private-portage,variant:,portage-dir:,tarball:,auth-key:,user:,autologin,password:,settings:,mirror:,tty: -- "$@") 798 --portage-dir) portage_dir=$2; shift 2;;
|
/lxc/src/lxc/cgroups/ |
H A D | cgfsng.c | 1216 DIR *dir; local 1219 dir = opendir(dirname); 1220 if (!dir) 1223 while ((direntp = readdir(dir))) { 1257 if (closedir(dir) < 0) { 1677 DIR *dir; local 1681 dir = opendir(dirname); 1682 if (!dir) 1685 while ((direntp = readdir(dir))) { 1714 (void) closedir(dir); [all...] |
H A D | cgfs.c | 162 DIR *dir; local 166 dir = opendir(dirname); 167 if (!dir) { 172 while ((direntp = readdir(dir))) { 215 ret = closedir(dir); 777 char *dir, *fulloldpath; local 784 * dir: /ab 789 dir = alloca(strlen(oldname) + 1); 790 strcpy(dir, oldname); 798 len = strlen(dir) [all...] |