diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-02 11:05:38 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-06 21:19:39 -0700 |
commit | 70f67680de01948847b1124b6583299e38509f1f (patch) | |
tree | 4cec6d501777f483b6710b8ef0bd45523f6287e2 /src | |
parent | e0672a93ed2e4899dd3ab40e247edac82827e2bc (diff) | |
download | consfigurator-70f67680de01948847b1124b6583299e38509f1f.tar.gz |
fix manpage sections for mount(8), umount(8) and findmnt(8)
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
-rw-r--r-- | src/connection/chroot.lisp | 2 | ||||
-rw-r--r-- | src/property/fstab.lisp | 2 | ||||
-rw-r--r-- | src/property/mount.lisp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/connection/chroot.lisp b/src/connection/chroot.lisp index 31ce5cb..ae2b337 100644 --- a/src/connection/chroot.lisp +++ b/src/connection/chroot.lisp @@ -61,7 +61,7 @@ should be the mount point, without the chroot's root prefixed.") (defmethod initialize-instance :after ((connection chroot-connection) &key) (when (string= "Linux" (stripln (run "uname"))) (with-slots (into) connection - ;; Ensure the chroot itself is a mountpoint so that findmnt(1) works + ;; Ensure the chroot itself is a mountpoint so that findmnt(8) works ;; correctly within the chroot. (unless (zerop (mrun :for-exit "mountpoint" "-q" into)) (chroot-mount connection "--bind" into "/")) diff --git a/src/property/fstab.lisp b/src/property/fstab.lisp index 643e54e..d656132 100644 --- a/src/property/fstab.lisp +++ b/src/property/fstab.lisp @@ -18,7 +18,7 @@ (in-package :consfigurator.property.fstab) (named-readtables:in-readtable :consfigurator) -;;; Use of findmnt(1) makes much of this Linux-specific. +;;; Use of findmnt(8) makes much of this Linux-specific. ;;;; Methods on volumes to get strings for fstab diff --git a/src/property/mount.lisp b/src/property/mount.lisp index a48a83b..1cfd2ca 100644 --- a/src/property/mount.lisp +++ b/src/property/mount.lisp @@ -33,17 +33,17 @@ the mount is not actually active." "Unmount anything mounted at or below DIR. Not aware of shared subtrees, so you might need to use the --make-rslave -option to mount(1) first. For example, if you did 'mount --rbind /dev +option to mount(8) first. For example, if you did 'mount --rbind /dev chroot/dev' then unless you also execute 'mount --make-rslave chroot/dev', this property will empty /dev, breaking all kinds of things." (:desc #?"${dir} unmounted") (:hostattrs - ;; findmnt(1) & --recursive argument to umount(1) are from util-linux + ;; findmnt(8) & --recursive argument to umount(8) are from util-linux (os:required 'os:linux)) (:apply (with-change-if-changes-file-content ("/proc/mounts") ;; We used to call --make-rslave as we worked through, but for mounts - ;; which were *not* made using the --rbind option to mount(1) or similar, + ;; which were *not* made using the --rbind option to mount(8) or similar, ;; doing that can can get us into a state where we can unmount everything ;; we can see under DIR but the kernel will still consider the block ;; device to be in use. That's a bit much for this property to deal |