4 :revdate: {sys:date "+%Y-%m-%d %H:%M:%S"}
11 overlay-diskfile - Support for using diskfile filesystem.
15 *overlay-diskfile* _mount/path_ [ _diskfile_ [ _index_ ] ]
20 *overlay-diskfile* is a support script for pre-mounting a diskfile to
21 provide the LOWER or UPPER filesystem for a subhost. It is typically
22 used in the subhost configuration to be invoked as part of determining
33 .Use a whole diskfile filesystem as LOWER
36 LOWER=!overlay-diskfile mnt/ disk.img
40 The above mounts the disk.img filesystem onto +mnt+ and provides that
41 as the LOWER filesystem.
43 .Use a diskfile partition 2 as LOWER
46 LOWER=!overlay-diskfile mnt/ disk.img 2
50 The above mounts the second partition onto +mnt+ and provides that as
53 .Use a subtree of a diskfile partition 2 as LOWER
56 LOWER=!overlay-diskfile mnt/some/path disk.img 2
60 The above mounts the second partition onto +mnt+ and provides the path
61 +mnt/some/path+ that as the LOWER filesystem.
63 .Use second partition diskfile filesystem subtrees for UPPER and WORK.
66 UPPER=!overlay-diskfile mnt/some/upper/path disk.img 2
67 WORK= mnt/some/work/path
71 The above mounts the second partition of disk.img and uses
72 +mnt/some/upper/path+ as UPPER and +mnt/some/work/path+ as WORK. Note
73 that UPPER and WORK must always be subtrees from the same filesystem.
79 *overlay-boot*, *overlay-stop*