[lxc-devel] [patch 0/6] [draft] Add 'variables' support into config and fstab
Andrian Nord
nightnord at gmail.com
Mon Nov 16 21:48:36 UTC 2009
This is a set of patches, strictly depended from each other, which:
1) adds syntax ${varname} or $varname (should have space/endline after
varname) into config file and fstab
2) moves all mount operations from conf.c into separate file mount.c
3) reimplements fstab parsing to allow variables resolution inside fstab
files. As side effect no temp file for lxc.mount.entry needed
4) adds ability to set multiply fstab files per container (useful with
config.include)
This should be considered as a draft, probably it contains memory leaks,
but it compiles and seems to work correctly (if I hadn't forgot any
valuable change to patch =))
More information about the lxc-devel
mailing list