Searched defs:target (Results 1 - 5 of 5) sorted by relevance
/lxc/src/lxc/ |
H A D | initutils.c | 29 static int mount_fs(const char *source, const char *target, const char *type) argument 32 if (umount(target)) 33 WARN("failed to unmount %s : %s", target, strerror(errno)); 35 if (mount(source, target, type, 0, NULL)) { 36 ERROR("failed to mount %s : %s", target, strerror(errno)); 40 DEBUG("'%s' mounted on '%s'", source, target);
|
H A D | utils.c | 1610 * @target: path to be opened 1611 * @prefix_skip: a part of @target in which to ignore symbolic links. This 1616 static int open_without_symlink(const char *target, const char *prefix_skip) argument 1621 fulllen = strlen(target); 1626 if (!is_subdir(target, prefix_skip, curlen)) { 1627 ERROR("WHOA there - target '%s' didn't start with prefix '%s'", 1628 target, prefix_skip); 1643 /* Make a copy of target which we can hack up, and tokenize it */ 1644 if ((dup = strdup(target)) == NULL) { 1669 SYSERROR("%s in %s was a symbolic link!", nextpath, target); [all...] |
H A D | conf.c | 521 static int mount_rootfs_dir(const char *rootfs, const char *target, argument 533 ret = mount(rootfs, target, "none", MS_BIND | MS_REC | mntflags, mntdata); 539 static int lxc_mount_rootfs_file(const char *rootfs, const char *target, argument 550 ret = mount_unknown_fs(path, target, options); 553 DEBUG("mounted rootfs \"%s\" on loop device \"%s\" via loop device \"%s\"", rootfs, target, path); 558 static int mount_rootfs_block(const char *rootfs, const char *target, argument 561 return mount_unknown_fs(rootfs, target, options); 722 INFO("Mount source or target for %s on %s doesn't exist. Skipping.", source, destination); 772 static int mount_rootfs(const char *rootfs, const char *target, const char *options) argument 808 return rtfs_type[i].cb(absrootfs, target, option 1752 mount_entry(const char *fsname, const char *target, const char *fstype, unsigned long mountflags, const char *data, int optional, int dev, const char *rootfs) argument 3800 char *target, *opts; local [all...] |
/lxc/src/lxc/bdev/ |
H A D | bdev.c | 247 p += p2 - src; // move target pointer (p) 739 int mount_unknown_fs(const char *rootfs, const char *target, argument 744 const char *target; member in struct:cbarg 748 .target = target, 885 const char *target; member in struct:cbarg 902 cbarg->rootfs, cbarg->target, fstype); 909 if (mount(cbarg->rootfs, cbarg->target, fstype, mntflags, mntdata)) { 918 cbarg->rootfs, cbarg->target, fstype);
|
H A D | lxcoverlay.c | 53 static int ovl_remount_on_enodev(const char *lower, const char *target, 664 static int ovl_remount_on_enodev(const char *lower, const char *target, argument 669 ret = mount(lower, target, ovl_name, MS_MGC_VAL | mountflags, options); 671 ret = mount(lower, target,
|
Completed in 25 milliseconds