Searched refs:fstab (Results 1 - 15 of 15) sorted by relevance

/lxc/doc/
H A Dlxc.container.conf1 # the fstab mount file
2 lxc.mount = ./fstab
/lxc/templates/
H A Dlxc-download.in522 fstab=$(relevant_file fstab)
547 if [ -e "$fstab" ]; then
548 echo "lxc.mount = ${LXC_PATH}/fstab" >> ${LXC_PATH}/config
562 # Setup the fstab
563 if [ -e $fstab ]; then
564 cp ${fstab} ${LXC_PATH}/fstab
565 TEMPLATE_FILES="$TEMPLATE_FILES ${LXC_PATH}/fstab"
594 chown $LXC_MAPPED_UID $LXC_PATH/config $LXC_PATH/fstab >/de
[all...]
H A Dlxc-slackware.in129 echo "Adding an etc/fstab"
130 cat >$rootfs/etc/fstab <<EOF
215 if /bin/grep -q quota /etc/fstab ; then
489 # fix fstab with the actual path
490 sed -i "s|$cache/rootfs-$release-$arch|$rootfs|" $rootfs/etc/fstab
644 lxc.mount = $rootfs/etc/fstab
H A Dlxc-sshd.in230 touch /etc/fstab
H A Dlxc-fedora.in335 touch ${rootfs_path}/etc/fstab
371 touch ${rootfs_path}/etc/fstab
H A Dlxc-busybox.in326 # /etc/fstab must exist for "mount -a"
327 touch $rootfs/etc/fstab
H A Dlxc-plamo.in152 # /etc/fstab
153 cat <<- "EOF" > $rootfs/etc/fstab
H A Dlxc-centos.in271 # set minimal fstab
272 cat <<EOF > $rootfs_path/etc/fstab
H A Dlxc-opensuse.in62 # create empty fstab
63 touch $rootfs/etc/fstab
H A Dlxc-sparclinux.in503 echo "" >$container_rootfs/etc/fstab
H A Dlxc-oracle.in715 echo "" >$container_rootfs/etc/fstab
/lxc/src/lxc/
H A Dconf.h270 * @mount_list : list of mount point (alternative to fstab file)
273 * @fstab : path to a fstab file format
295 char *fstab; member in struct:lxc_conf
H A Dconf.c1966 /* if rootfs->path is a blockdev path, allow container fstab to
2049 static int setup_mount(const struct lxc_rootfs *rootfs, const char *fstab, argument
2055 if (!fstab)
2058 file = setmntent(fstab, "r");
2060 SYSERROR("failed to use '%s'", fstab);
4004 if (setup_mount(&lxc_conf->rootfs, lxc_conf->fstab, name, lxcpath)) {
4023 * (is either mounted automatically or via fstab entries)
4440 free(conf->fstab);
H A Dlxccontainer.c2740 char *oldpath = oldc->lxc_conf->fstab;
2758 ERROR("error: fstab file %s exists", newpath);
2766 free(c->lxc_conf->fstab);
2767 c->lxc_conf->fstab = strdup(newpath);
2768 if (!c->lxc_conf->fstab) {
3174 ERROR("error copying fstab");
H A Dconfile.c1569 return config_path_item(&lxc_conf->fstab, value);
2528 v = c->fstab;

Completed in 59 milliseconds