]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-start-ephemeral: handle the overlayfs workdir option (v2)
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 13 Jan 2015 00:08:37 +0000 (00:08 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 15 Jan 2015 22:11:52 +0000 (17:11 -0500)
commit4799a1e7eced77ae8ef48579b81aa71127958a61
tree6e35b548e8e40d4be27083b58f14fa013e997ff0
parent38005c5436d8a929141b7e8c0314dc5fd1c403f1
lxc-start-ephemeral: handle the overlayfs workdir option (v2)

We fixed this some time ago for basic lxc-start, but never did
lxc-start-ephemeral.

Since the lxc-start patches were pushed, Miklos has given us a
way to detect whether we need the workdir= option.  So the
bdev.c code could be simplified to check for "overlay\n" in
/proc/filesystems just as lxc-start-ephemeral does.  This
patch doesn't do that.

Changelog (v2):
1. use 'overlay' fstype for new overlay upstream module
2. avoid using unneeded readlines().

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc-start-ephemeral.in