From: Ralph Ronnquist Date: Fri, 2 Dec 2022 08:24:08 +0000 (+1100) Subject: added overlay-share to the package X-Git-Tag: v0.1.10~2 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;ds=sidebyside;h=9ceac0920581b2e794efd940cd33002cab015b2c;hp=c255837bb972d9e4c6d9a33cdfff8f0bf32f79fc;p=rrq%2Foverlay-boot.git added overlay-share to the package --- diff --git a/Makefile b/Makefile index c099771..bc4f1cc 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,11 @@ SBINDIR = $(DESTDIR)/usr/sbin VARLIBDIR = $(DESTDIR)/var/lib/overlay-boot MAN8FILES = overlay-boot.8 overlay-go.8 overlay-stop.8 overlay-diskfile.8 +MAN8FILES += overlay-share.8 VARLIBFILES = overlay-boot overlay-go overlay-stop functions reaper VARLIBFILES += overlay-init overlay-postmount overlay-premount VARLIBFILES += overlay-diskfile +VARLIBFILES += overlay-share INITFILES = subhosts ETCFILES = subhosts.conf diff --git a/debian/changelog b/debian/changelog index 60cac80..6d2ac44 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +overlay-boot (0.1.10) experimental; urgency=medium + + * include the overlay-share utility + + -- Ralph Ronnquist Fri, 02 Dec 2022 19:21:58 +1100 + overlay-boot (0.1.9) experimental; urgency=medium * discard most mounts before unshare diff --git a/debian/overlay-boot.links b/debian/overlay-boot.links index c1d7c8d..71565ab 100644 --- a/debian/overlay-boot.links +++ b/debian/overlay-boot.links @@ -2,3 +2,4 @@ /var/lib/overlay-boot/overlay-stop /usr/sbin/overlay-stop /var/lib/overlay-boot/overlay-go /usr/sbin/overlay-go /var/lib/overlay-boot/overlay-diskfile /usr/sbin/overlay-diskfile +/var/lib/overlay-boot/overlay-shar /usr/sbin/overlay-share diff --git a/overlay-share.8.adoc b/overlay-share.8.adoc new file mode 100644 index 0000000..16909bb --- /dev/null +++ b/overlay-share.8.adoc @@ -0,0 +1,44 @@ +overlay-share(8) +================ +:doctype: manpage +:revdate: {sys:date "+%Y-%m-%d %H:%M:%S"} +:COLON: : +:EQUALS: = +:BANG: ! + +NAME +---- +overlay-share - Utility to bind mount directory into subhost. + +SYNOPSIS +-------- +*overlay-share* _path_ _subhostname_ + +DESCRIPTION +----------- + +*overlay-share* is a utility command script for bind-mounting a + directory into a subhost under the same pathname. + +OPTIONS +------- + +no options. + +EXAMPLES +-------- + +==== +---- +# overlay-share /home/guest example +---- +==== + +The above bind-mounts the main host's directory tree +/home/guest+ +into the subhost +example+ and thereby making that directory subtree +shared between the subhost and the main host. + +SEE ALSO +-------- + +*overlay-boot*, *overlay-stop*