added overlay-share to the package
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 2 Dec 2022 08:24:08 +0000 (19:24 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 2 Dec 2022 08:24:08 +0000 (19:24 +1100)
Makefile
debian/changelog
debian/overlay-boot.links
overlay-share.8.adoc [new file with mode: 0644]

index c099771b5436a1a81771a935d40802bfab1a3c44..bc4f1ccb7743e81ac797b50620462f2d7d265783 100644 (file)
--- 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
 
index 60cac806184d5d16c18f6a6914efe982f3c86f1f..6d2ac4431f79d2ea1f7ebd0a0f5a755e4a764245 100644 (file)
@@ -1,3 +1,9 @@
+overlay-boot (0.1.10) experimental; urgency=medium
+
+  * include the overlay-share utility
+
+ -- Ralph Ronnquist <ralph.ronnquist@gmail.com>  Fri, 02 Dec 2022 19:21:58 +1100
+
 overlay-boot (0.1.9) experimental; urgency=medium
 
   * discard most mounts before unshare
index c1d7c8df2fda24cd5eb7b9130193ea68ad3fb1cd..71565ab0f814ae8d9438c2a3529900c742362d30 100644 (file)
@@ -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 (file)
index 0000000..16909bb
--- /dev/null
@@ -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*