From: Mario Blättermann Date: Sun, 31 Aug 2025 15:34:12 +0000 (+0200) Subject: Fix markup in unshare.1.adoc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa3d4842600d3254d822b9b4da8262316de2bfe;p=thirdparty%2Futil-linux.git Fix markup in unshare.1.adoc --- diff --git a/sys-utils/unshare.1.adoc b/sys-utils/unshare.1.adoc index 2bcc193ff..3e669ad39 100644 --- a/sys-utils/unshare.1.adoc +++ b/sys-utils/unshare.1.adoc @@ -91,7 +91,7 @@ When *unshare* terminates, have _signame_ be sent to the forked child process. C Just before running the program, mount the proc filesystem at _mountpoint_ (default is _/proc_). This is useful when creating a new PID namespace. It also implies creating a new mount namespace since the _/proc_ mount would otherwise mess up existing programs on the system. The new proc filesystem is explicitly mounted as private (with *MS_PRIVATE*|*MS_REC*). *--mount-binfmt*[**=**__mountpoint__]:: -Just before running the program, mount the binfmt_misc filesystem at _mountpoint_ (default is /proc/sys/fs/binfmt_misc). It also implies creating a new mount namespace since the binfmt_misc mount would otherwise mess up existing programs on the system. The new binfmt_misc filesystem is explicitly mounted as private (with *MS_PRIVATE*|*MS_REC*). +Just before running the program, mount the binfmt_misc filesystem at _mountpoint_ (default is _/proc/sys/fs/binfmt_misc_). It also implies creating a new mount namespace since the binfmt_misc mount would otherwise mess up existing programs on the system. The new binfmt_misc filesystem is explicitly mounted as private (with *MS_PRIVATE*|*MS_REC*). *--map-user* __uid__|__name__:: Run the program only after the current effective user ID has been mapped to _uid_. If this option is specified multiple times, the last occurrence takes precedence. This option implies *--user*. @@ -263,7 +263,7 @@ up 21 hours, 30 minutes up 9 years, 28 weeks, 1 day, 2 hours, 50 minutes .... -The following example execute a chroot into the directory /chroot/powerpc/jessie and install the interpreter /bin/qemu-ppc-static to execute the powerpc binaries. +The following example execute a chroot into the directory _/chroot/powerpc/jessie_ and install the interpreter _/bin/qemu-ppc-static_ to execute the powerpc binaries. .... $ unshare --map-root-user --fork --pid --load-interp=":qemu-ppc:M::\\x7fELF\x01\\x02\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\x00\\x14:\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x00\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xfe\\xff\\xff:/bin/qemu-ppc-static:OCF" --root=/chroot/powerpc/jessie /bin/bash -l