OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 |
||
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 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
28 | help |
||
29 | The run-init utility is used from initramfs to select a new |
||
30 | root device. Under initramfs, you have to use this instead of |
||
31 | pivot_root. |
||
32 | |||
33 | Booting with initramfs extracts a gzipped cpio archive into rootfs |
||
34 | (which is a variant of ramfs/tmpfs). Because rootfs can't be moved |
||
35 | or unmounted, pivot_root will not work from initramfs. Instead, |
||
36 | run-init deletes everything out of rootfs (including itself), |
||
37 | does a mount --move that overmounts rootfs with the new root, and |
||
38 | then execs the specified init program. |
||
39 | |||
40 | util-linux has a similar tool, switch-root. |
||
41 | run-init differs by also having a "-d CAPS_TO_DROP" option. |
||
42 | |||
43 | endmenu |