]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix markup in unshare.1.adoc
authorMario Blättermann <mario.blaettermann@gmail.com>
Sun, 31 Aug 2025 15:34:12 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Sun, 31 Aug 2025 15:34:12 +0000 (17:34 +0200)
sys-utils/unshare.1.adoc

index 2bcc193ff853626fbd4e11f5f00535e73483ea20..3e669ad39562359dd493161d67bfa6aa9c924579 100644 (file)
@@ -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