Searched refs:dir (Results 1 - 18 of 18) sorted by relevance

/lxc/src/tests/
H A Dlxc-test-symlink50 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 Dlxcdir.c68 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 Dlxc_create.c82 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 Dlxc-start-ephemeral.in114 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 Dlxc.lua356 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 Dutils.c94 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 Darguments.h93 char *zfsroot, *lowerdir, *dir; member in struct:lxc_arguments
H A Dstart.c194 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 Dlxccontainer.c632 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 Dlxccontainer.h310 * \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 Dutils.h51 extern int mkdir_p(const char *dir, mode_t mode);
H A Dconfile.c1826 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 Dubuntu-cloud-prep24 Usage: ${0##*/} [options] root-dir
26 root-dir is the root directory to operate on
/lxc/templates/
H A Dlxc-busybox.in364 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 Dlxc-alpine.in267 $APK --arch="$arch" --root=. --keys-dir="$APK_KEYS_DIR" \
H A Dlxc-gentoo.in449 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 Dcgfsng.c1216 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 Dcgfs.c162 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...]

Completed in 95 milliseconds