switch_root, tailf, uuidparse, waitpid: add pages (#12108)

* switch_root, tailf, uuidparse, waitpid: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2024-01-23 08:26:57 +01:00
committed by GitHub
parent 77483d96d9
commit 14bb4a9221
4 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# switch_root
> Use a different filesystem as the root of the mount tree.
> NOTE: switch_root will fail to function if the new root is not the root of a mount. Use bind-mounting as a workaround.
> See also: `chroot`, `mount`.
> More information: <https://manned.org/switch_root.8>.
- Move `/proc`, `/dev`, `/sys` and `/run` to the specified filesystem, use this filesystem as the new root and start the specified init process:
`switch_root {{new_root}} {{/sbin/init}}`
- Display help:
`switch_root -h`