diff options
| -rw-r--r-- | debian/arch-chroot.adoc | 7 | ||||
| -rw-r--r-- | debian/genfstab.adoc | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/arch-chroot.adoc b/debian/arch-chroot.adoc index 61ecdbb..67a82d9 100644 --- a/debian/arch-chroot.adoc +++ b/debian/arch-chroot.adoc @@ -31,6 +31,13 @@ disable autostart of daemons. If 'command' is unspecified, arch-chroot will launch */bin/bash*. +Note that when using arch-chroot, the target chroot directory *should* be a +mountpoint. This ensures that tools such as findmnt(8) have an accurate hierarchy +of the mounted filesystems within the chroot. + +If your chroot target is not a mountpoint, you can bind mount the directory on +itself to make it a mountpoint, i.e. 'mount --bind /your/chroot /your/chroot'. + EXAMPLES -------- diff --git a/debian/genfstab.adoc b/debian/genfstab.adoc index 9f2f35e..a8e38aa 100644 --- a/debian/genfstab.adoc +++ b/debian/genfstab.adoc @@ -23,7 +23,7 @@ OPTIONS *-P*:: Include pseudofs mounts *-t* 'TAG':: - Use TAG for source identifiers + Use TAG for source identifiers. Common options for TAG include: 'LABEL', 'UUID', 'PARTLABEL', 'PARTUUID' *-U*:: Use UUIDs for source identifiers (shortcut for '-t UUID') *-h*:: |
