b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # DO NOT EDIT. This file is generated from Config.src |
| 2 | # |
| 3 | # For a description of the syntax of this configuration file, |
| 4 | # see docs/Kconfig-language.txt. |
| 5 | # |
| 6 | |
| 7 | menu "klibc-utils" |
| 8 | |
| 9 | config BUSYBOX_CONFIG_MINIPS |
| 10 | bool "minips (11 kb)" |
| 11 | default BUSYBOX_DEFAULT_MINIPS # for god's sake, just use "ps" name in your scripts |
| 12 | help |
| 13 | Alias to "ps". |
| 14 | config BUSYBOX_CONFIG_NUKE |
| 15 | bool "nuke (2.9 kb)" |
| 16 | default BUSYBOX_DEFAULT_NUKE # off by default: too "accidentally destructive" |
| 17 | help |
| 18 | Alias to "rm -rf". |
| 19 | config BUSYBOX_CONFIG_RESUME |
| 20 | bool "resume (3.2 kb)" |
| 21 | default BUSYBOX_DEFAULT_RESUME |
| 22 | help |
| 23 | Resume from saved "suspend-to-disk" image |
| 24 | config BUSYBOX_CONFIG_RUN_INIT |
| 25 | bool "run-init (7.7 kb)" |
| 26 | default BUSYBOX_DEFAULT_RUN_INIT |
| 27 | help |
| 28 | The run-init utility is used from initramfs to select a new |
| 29 | root device. Under initramfs, you have to use this instead of |
| 30 | pivot_root. |
| 31 | |
| 32 | Booting with initramfs extracts a gzipped cpio archive into rootfs |
| 33 | (which is a variant of ramfs/tmpfs). Because rootfs can't be moved |
| 34 | or unmounted, pivot_root will not work from initramfs. Instead, |
| 35 | run-init deletes everything out of rootfs (including itself), |
| 36 | does a mount --move that overmounts rootfs with the new root, and |
| 37 | then execs the specified init program. |
| 38 | |
| 39 | util-linux has a similar tool, switch-root. |
| 40 | run-init differs by also having a "-d CAPS_TO_DROP" option. |
| 41 | |
| 42 | endmenu |