From 51abada33ae4c5733285832669f5cb4609fa7773 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sun, 3 Apr 2022 22:13:09 +1000 Subject: [PATCH] added examples --- overlay-diskfile.8.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/overlay-diskfile.8.adoc b/overlay-diskfile.8.adoc index 8f39cbb..739e05b 100644 --- a/overlay-diskfile.8.adoc +++ b/overlay-diskfile.8.adoc @@ -4,6 +4,7 @@ overlay-diskfile(8) :revdate: {sys:date "+%Y-%m-%d %H:%M:%S"} :COLON: : :EQUALS: = +:BANG: ! NAME ---- @@ -11,8 +12,7 @@ overlay-diskfile - Support for using diskfile filesystem. SYNOPSIS -------- -LOWER=!*overlay-diskfile* _mount/path_ [ _diskfile_ [ _index_ ] ] -UPPER=!*overlay-diskfile* _mount/path_ [ _diskfile_ [ _index_ ] ] +*overlay-diskfile* _mount/path_ [ _diskfile_ [ _index_ ] ] DESCRIPTION ----------- @@ -60,7 +60,7 @@ LOWER=!overlay-diskfile mnt/some/path disk.img 2 The above mounts the second partition onto +mnt+ and provides the path +mnt/some/path+ that as the LOWER filesystem. -.Use a while diskfile as UPPER and WORK. +.Use second partition diskfile filesystem subtrees for UPPER and WORK. ==== ---- UPPER=!overlay-diskfile mnt/some/upper/path disk.img 2 @@ -69,7 +69,8 @@ WORK= mnt/some/work/path ==== The above mounts the second partition of disk.img and uses -+mnt/some/upper/path+ as UPPER and +mnt/some/work/path+ as WORK. ++mnt/some/upper/path+ as UPPER and +mnt/some/work/path+ as WORK. Note +that UPPER and WORK must always be subtrees from the same filesystem. SEE ALSO -- 2.39.2