diff options
Diffstat (limited to 'util-linux')
66 files changed, 355 insertions, 355 deletions
diff --git a/util-linux/Config.src b/util-linux/Config.src index 0971d714a..68fcc266f 100644 --- a/util-linux/Config.src +++ b/util-linux/Config.src | |||
@@ -15,29 +15,29 @@ config FEATURE_MOUNT_LOOP | |||
15 | default y | 15 | default y |
16 | depends on MOUNT || UMOUNT | 16 | depends on MOUNT || UMOUNT |
17 | help | 17 | help |
18 | Enabling this feature allows automatic mounting of files (containing | 18 | Enabling this feature allows automatic mounting of files (containing |
19 | filesystem images) via the linux kernel's loopback devices. | 19 | filesystem images) via the linux kernel's loopback devices. |
20 | The mount command will detect you are trying to mount a file instead | 20 | The mount command will detect you are trying to mount a file instead |
21 | of a block device, and transparently associate the file with a | 21 | of a block device, and transparently associate the file with a |
22 | loopback device. The umount command will also free that loopback | 22 | loopback device. The umount command will also free that loopback |
23 | device. | 23 | device. |
24 | 24 | ||
25 | You can still use the 'losetup' utility (to manually associate files | 25 | You can still use the 'losetup' utility (to manually associate files |
26 | with loop devices) if you need to do something advanced, such as | 26 | with loop devices) if you need to do something advanced, such as |
27 | specify an offset or cryptographic options to the loopback device. | 27 | specify an offset or cryptographic options to the loopback device. |
28 | (If you don't want umount to free the loop device, use "umount -D".) | 28 | (If you don't want umount to free the loop device, use "umount -D".) |
29 | 29 | ||
30 | config FEATURE_MOUNT_LOOP_CREATE | 30 | config FEATURE_MOUNT_LOOP_CREATE |
31 | bool "Create new loopback devices if needed" | 31 | bool "Create new loopback devices if needed" |
32 | default y | 32 | default y |
33 | depends on FEATURE_MOUNT_LOOP | 33 | depends on FEATURE_MOUNT_LOOP |
34 | help | 34 | help |
35 | Linux kernels >= 2.6.24 support unlimited loopback devices. They are | 35 | Linux kernels >= 2.6.24 support unlimited loopback devices. They are |
36 | allocated for use when trying to use a loop device. The loop device | 36 | allocated for use when trying to use a loop device. The loop device |
37 | must however exist. | 37 | must however exist. |
38 | 38 | ||
39 | This feature lets mount to try to create next /dev/loopN device | 39 | This feature lets mount to try to create next /dev/loopN device |
40 | if it does not find a free one. | 40 | if it does not find a free one. |
41 | 41 | ||
42 | config FEATURE_MTAB_SUPPORT | 42 | config FEATURE_MTAB_SUPPORT |
43 | bool "Support old /etc/mtab file" | 43 | bool "Support old /etc/mtab file" |
@@ -45,23 +45,23 @@ config FEATURE_MTAB_SUPPORT | |||
45 | depends on MOUNT || UMOUNT | 45 | depends on MOUNT || UMOUNT |
46 | select FEATURE_MOUNT_FAKE | 46 | select FEATURE_MOUNT_FAKE |
47 | help | 47 | help |
48 | Historically, Unix systems kept track of the currently mounted | 48 | Historically, Unix systems kept track of the currently mounted |
49 | partitions in the file "/etc/mtab". These days, the kernel exports | 49 | partitions in the file "/etc/mtab". These days, the kernel exports |
50 | the list of currently mounted partitions in "/proc/mounts", rendering | 50 | the list of currently mounted partitions in "/proc/mounts", rendering |
51 | the old mtab file obsolete. (In modern systems, /etc/mtab should be | 51 | the old mtab file obsolete. (In modern systems, /etc/mtab should be |
52 | a symlink to /proc/mounts.) | 52 | a symlink to /proc/mounts.) |
53 | 53 | ||
54 | The only reason to have mount maintain an /etc/mtab file itself is if | 54 | The only reason to have mount maintain an /etc/mtab file itself is if |
55 | your stripped-down embedded system does not have a /proc directory. | 55 | your stripped-down embedded system does not have a /proc directory. |
56 | If you must use this, keep in mind it's inherently brittle (for | 56 | If you must use this, keep in mind it's inherently brittle (for |
57 | example a mount under chroot won't update it), can't handle modern | 57 | example a mount under chroot won't update it), can't handle modern |
58 | features like separate per-process filesystem namespaces, requires | 58 | features like separate per-process filesystem namespaces, requires |
59 | that your /etc directory be writable, tends to get easily confused | 59 | that your /etc directory be writable, tends to get easily confused |
60 | by --bind or --move mounts, won't update if you rename a directory | 60 | by --bind or --move mounts, won't update if you rename a directory |
61 | that contains a mount point, and so on. (In brief: avoid.) | 61 | that contains a mount point, and so on. (In brief: avoid.) |
62 | 62 | ||
63 | About the only reason to use this is if you've removed /proc from | 63 | About the only reason to use this is if you've removed /proc from |
64 | your kernel. | 64 | your kernel. |
65 | 65 | ||
66 | source util-linux/volume_id/Config.in | 66 | source util-linux/volume_id/Config.in |
67 | 67 | ||
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index 7abea1400..3c3811752 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c | |||
@@ -11,23 +11,23 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: acpid listens to ACPI events coming either in textual form from | 14 | //config: acpid listens to ACPI events coming either in textual form from |
15 | //config: /proc/acpi/event (though it is marked deprecated it is still widely | 15 | //config: /proc/acpi/event (though it is marked deprecated it is still widely |
16 | //config: used and _is_ a standard) or in binary form from specified evdevs | 16 | //config: used and _is_ a standard) or in binary form from specified evdevs |
17 | //config: (just use /dev/input/event*). | 17 | //config: (just use /dev/input/event*). |
18 | //config: | 18 | //config: |
19 | //config: It parses the event to retrieve ACTION and a possible PARAMETER. | 19 | //config: It parses the event to retrieve ACTION and a possible PARAMETER. |
20 | //config: It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts | 20 | //config: It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts |
21 | //config: (if the resulting path is a directory) or directly as an executable. | 21 | //config: (if the resulting path is a directory) or directly as an executable. |
22 | //config: | 22 | //config: |
23 | //config: N.B. acpid relies on run-parts so have the latter installed. | 23 | //config: N.B. acpid relies on run-parts so have the latter installed. |
24 | //config: | 24 | //config: |
25 | //config:config FEATURE_ACPID_COMPAT | 25 | //config:config FEATURE_ACPID_COMPAT |
26 | //config: bool "Accept and ignore redundant options" | 26 | //config: bool "Accept and ignore redundant options" |
27 | //config: default y | 27 | //config: default y |
28 | //config: depends on ACPID | 28 | //config: depends on ACPID |
29 | //config: help | 29 | //config: help |
30 | //config: Accept and ignore compatibility options -g -m -s -S -v. | 30 | //config: Accept and ignore compatibility options -g -m -s -S -v. |
31 | 31 | ||
32 | //applet:IF_ACPID(APPLET(acpid, BB_DIR_SBIN, BB_SUID_DROP)) | 32 | //applet:IF_ACPID(APPLET(acpid, BB_DIR_SBIN, BB_SUID_DROP)) |
33 | 33 | ||
diff --git a/util-linux/blkdiscard.c b/util-linux/blkdiscard.c index 690062970..8f6a4ab6c 100644 --- a/util-linux/blkdiscard.c +++ b/util-linux/blkdiscard.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "blkdiscard (5.3 kb)" | 9 | //config: bool "blkdiscard (5.3 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: blkdiscard discards sectors on a given device. | 12 | //config: blkdiscard discards sectors on a given device. |
13 | 13 | ||
14 | //kbuild:lib-$(CONFIG_BLKDISCARD) += blkdiscard.o | 14 | //kbuild:lib-$(CONFIG_BLKDISCARD) += blkdiscard.o |
15 | //applet:IF_BLKDISCARD(APPLET(blkdiscard, BB_DIR_USR_BIN, BB_SUID_DROP)) | 15 | //applet:IF_BLKDISCARD(APPLET(blkdiscard, BB_DIR_USR_BIN, BB_SUID_DROP)) |
diff --git a/util-linux/blkid.c b/util-linux/blkid.c index 08fa07968..f353cf248 100644 --- a/util-linux/blkid.c +++ b/util-linux/blkid.c | |||
@@ -12,16 +12,16 @@ | |||
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: select VOLUMEID | 13 | //config: select VOLUMEID |
14 | //config: help | 14 | //config: help |
15 | //config: Lists labels and UUIDs of all filesystems. | 15 | //config: Lists labels and UUIDs of all filesystems. |
16 | //config: WARNING: | 16 | //config: WARNING: |
17 | //config: With all submodules selected, it will add ~8k to busybox. | 17 | //config: With all submodules selected, it will add ~8k to busybox. |
18 | //config: | 18 | //config: |
19 | //config:config FEATURE_BLKID_TYPE | 19 | //config:config FEATURE_BLKID_TYPE |
20 | //config: bool "Print filesystem type" | 20 | //config: bool "Print filesystem type" |
21 | //config: default n | 21 | //config: default n |
22 | //config: depends on BLKID | 22 | //config: depends on BLKID |
23 | //config: help | 23 | //config: help |
24 | //config: Show TYPE="filesystem type" | 24 | //config: Show TYPE="filesystem type" |
25 | 25 | ||
26 | //applet:IF_BLKID(APPLET(blkid, BB_DIR_SBIN, BB_SUID_DROP)) | 26 | //applet:IF_BLKID(APPLET(blkid, BB_DIR_SBIN, BB_SUID_DROP)) |
27 | 27 | ||
diff --git a/util-linux/blockdev.c b/util-linux/blockdev.c index 9924ef06f..9e1fef206 100644 --- a/util-linux/blockdev.c +++ b/util-linux/blockdev.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "blockdev (2.4 kb)" | 9 | //config: bool "blockdev (2.4 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: Performs some ioctls with block devices. | 12 | //config: Performs some ioctls with block devices. |
13 | 13 | ||
14 | //applet:IF_BLOCKDEV(APPLET(blockdev, BB_DIR_SBIN, BB_SUID_DROP)) | 14 | //applet:IF_BLOCKDEV(APPLET(blockdev, BB_DIR_SBIN, BB_SUID_DROP)) |
15 | 15 | ||
diff --git a/util-linux/cal.c b/util-linux/cal.c index f7a965619..091fdbd2b 100644 --- a/util-linux/cal.c +++ b/util-linux/cal.c | |||
@@ -14,7 +14,7 @@ | |||
14 | //config: bool "cal (6.5 kb)" | 14 | //config: bool "cal (6.5 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: cal is used to display a monthly calendar. | 17 | //config: cal is used to display a monthly calendar. |
18 | 18 | ||
19 | //applet:IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/util-linux/chrt.c b/util-linux/chrt.c index ad13dd512..4bc8b6cfa 100644 --- a/util-linux/chrt.c +++ b/util-linux/chrt.c | |||
@@ -9,8 +9,8 @@ | |||
9 | //config: bool "chrt (4.4 kb)" | 9 | //config: bool "chrt (4.4 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: manipulate real-time attributes of a process. | 12 | //config: manipulate real-time attributes of a process. |
13 | //config: This requires sched_{g,s}etparam support in your libc. | 13 | //config: This requires sched_{g,s}etparam support in your libc. |
14 | 14 | ||
15 | //applet:IF_CHRT(APPLET(chrt, BB_DIR_USR_BIN, BB_SUID_DROP)) | 15 | //applet:IF_CHRT(APPLET(chrt, BB_DIR_USR_BIN, BB_SUID_DROP)) |
16 | 16 | ||
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 5822d0290..6da9d9f4e 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c | |||
@@ -13,34 +13,34 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: dmesg is used to examine or control the kernel ring buffer. When the | 16 | //config: dmesg is used to examine or control the kernel ring buffer. When the |
17 | //config: Linux kernel prints messages to the system log, they are stored in | 17 | //config: Linux kernel prints messages to the system log, they are stored in |
18 | //config: the kernel ring buffer. You can use dmesg to print the kernel's ring | 18 | //config: the kernel ring buffer. You can use dmesg to print the kernel's ring |
19 | //config: buffer, clear the kernel ring buffer, change the size of the kernel | 19 | //config: buffer, clear the kernel ring buffer, change the size of the kernel |
20 | //config: ring buffer, and change the priority level at which kernel messages | 20 | //config: ring buffer, and change the priority level at which kernel messages |
21 | //config: are also logged to the system console. Enable this option if you | 21 | //config: are also logged to the system console. Enable this option if you |
22 | //config: wish to enable the 'dmesg' utility. | 22 | //config: wish to enable the 'dmesg' utility. |
23 | //config: | 23 | //config: |
24 | //config:config FEATURE_DMESG_PRETTY | 24 | //config:config FEATURE_DMESG_PRETTY |
25 | //config: bool "Pretty output" | 25 | //config: bool "Pretty output" |
26 | //config: default y | 26 | //config: default y |
27 | //config: depends on DMESG | 27 | //config: depends on DMESG |
28 | //config: help | 28 | //config: help |
29 | //config: If you wish to scrub the syslog level from the output, say 'Y' here. | 29 | //config: If you wish to scrub the syslog level from the output, say 'Y' here. |
30 | //config: The syslog level is a string prefixed to every line with the form | 30 | //config: The syslog level is a string prefixed to every line with the form |
31 | //config: "<#>". | 31 | //config: "<#>". |
32 | //config: | 32 | //config: |
33 | //config: With this option you will see: | 33 | //config: With this option you will see: |
34 | //config: # dmesg | 34 | //config: # dmesg |
35 | //config: Linux version 2.6.17.4 ..... | 35 | //config: Linux version 2.6.17.4 ..... |
36 | //config: BIOS-provided physical RAM map: | 36 | //config: BIOS-provided physical RAM map: |
37 | //config: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) | 37 | //config: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) |
38 | //config: | 38 | //config: |
39 | //config: Without this option you will see: | 39 | //config: Without this option you will see: |
40 | //config: # dmesg | 40 | //config: # dmesg |
41 | //config: <5>Linux version 2.6.17.4 ..... | 41 | //config: <5>Linux version 2.6.17.4 ..... |
42 | //config: <6>BIOS-provided physical RAM map: | 42 | //config: <6>BIOS-provided physical RAM map: |
43 | //config: <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable) | 43 | //config: <6> BIOS-e820: 0000000000000000 - 000000000009f000 (usable) |
44 | 44 | ||
45 | //applet:IF_DMESG(APPLET(dmesg, BB_DIR_BIN, BB_SUID_DROP)) | 45 | //applet:IF_DMESG(APPLET(dmesg, BB_DIR_BIN, BB_SUID_DROP)) |
46 | 46 | ||
diff --git a/util-linux/eject.c b/util-linux/eject.c index 07ac2fd54..8095cbef0 100644 --- a/util-linux/eject.c +++ b/util-linux/eject.c | |||
@@ -17,15 +17,15 @@ | |||
17 | //config: default y | 17 | //config: default y |
18 | //config: select PLATFORM_LINUX | 18 | //config: select PLATFORM_LINUX |
19 | //config: help | 19 | //config: help |
20 | //config: Used to eject cdroms. (defaults to /dev/cdrom) | 20 | //config: Used to eject cdroms. (defaults to /dev/cdrom) |
21 | //config: | 21 | //config: |
22 | //config:config FEATURE_EJECT_SCSI | 22 | //config:config FEATURE_EJECT_SCSI |
23 | //config: bool "SCSI support" | 23 | //config: bool "SCSI support" |
24 | //config: default y | 24 | //config: default y |
25 | //config: depends on EJECT | 25 | //config: depends on EJECT |
26 | //config: help | 26 | //config: help |
27 | //config: Add the -s option to eject, this allows to eject SCSI-Devices and | 27 | //config: Add the -s option to eject, this allows to eject SCSI-Devices and |
28 | //config: usb-storage devices. | 28 | //config: usb-storage devices. |
29 | 29 | ||
30 | //applet:IF_EJECT(APPLET(eject, BB_DIR_USR_BIN, BB_SUID_DROP)) | 30 | //applet:IF_EJECT(APPLET(eject, BB_DIR_USR_BIN, BB_SUID_DROP)) |
31 | 31 | ||
diff --git a/util-linux/fallocate.c b/util-linux/fallocate.c index 34f01ebd5..70e7e178f 100644 --- a/util-linux/fallocate.c +++ b/util-linux/fallocate.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "fallocate (5 kb)" | 9 | //config: bool "fallocate (5 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: Preallocate space for files. | 12 | //config: Preallocate space for files. |
13 | 13 | ||
14 | //applet:IF_FALLOCATE(APPLET(fallocate, BB_DIR_USR_BIN, BB_SUID_DROP)) | 14 | //applet:IF_FALLOCATE(APPLET(fallocate, BB_DIR_USR_BIN, BB_SUID_DROP)) |
15 | 15 | ||
diff --git a/util-linux/fatattr.c b/util-linux/fatattr.c index e69cb93e7..9fb566d5a 100644 --- a/util-linux/fatattr.c +++ b/util-linux/fatattr.c | |||
@@ -13,7 +13,7 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: fatattr lists or changes the file attributes on a fat file system. | 16 | //config: fatattr lists or changes the file attributes on a fat file system. |
17 | 17 | ||
18 | //applet:IF_FATATTR(APPLET(fatattr, BB_DIR_BIN, BB_SUID_DROP)) | 18 | //applet:IF_FATATTR(APPLET(fatattr, BB_DIR_BIN, BB_SUID_DROP)) |
19 | 19 | ||
diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 0b141816d..11cb20cb2 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c | |||
@@ -16,29 +16,29 @@ | |||
16 | //config: default y | 16 | //config: default y |
17 | //config: select PLATFORM_LINUX | 17 | //config: select PLATFORM_LINUX |
18 | //config: help | 18 | //config: help |
19 | //config: fbset is used to show or change the settings of a Linux frame buffer | 19 | //config: fbset is used to show or change the settings of a Linux frame buffer |
20 | //config: device. The frame buffer device provides a simple and unique | 20 | //config: device. The frame buffer device provides a simple and unique |
21 | //config: interface to access a graphics display. Enable this option | 21 | //config: interface to access a graphics display. Enable this option |
22 | //config: if you wish to enable the 'fbset' utility. | 22 | //config: if you wish to enable the 'fbset' utility. |
23 | //config: | 23 | //config: |
24 | //config:config FEATURE_FBSET_FANCY | 24 | //config:config FEATURE_FBSET_FANCY |
25 | //config: bool "Enable extra options" | 25 | //config: bool "Enable extra options" |
26 | //config: default y | 26 | //config: default y |
27 | //config: depends on FBSET | 27 | //config: depends on FBSET |
28 | //config: help | 28 | //config: help |
29 | //config: This option enables extended fbset options, allowing one to set the | 29 | //config: This option enables extended fbset options, allowing one to set the |
30 | //config: framebuffer size, color depth, etc. interface to access a graphics | 30 | //config: framebuffer size, color depth, etc. interface to access a graphics |
31 | //config: display. Enable this option if you wish to enable extended fbset | 31 | //config: display. Enable this option if you wish to enable extended fbset |
32 | //config: options. | 32 | //config: options. |
33 | //config: | 33 | //config: |
34 | //config:config FEATURE_FBSET_READMODE | 34 | //config:config FEATURE_FBSET_READMODE |
35 | //config: bool "Enable readmode support" | 35 | //config: bool "Enable readmode support" |
36 | //config: default y | 36 | //config: default y |
37 | //config: depends on FBSET | 37 | //config: depends on FBSET |
38 | //config: help | 38 | //config: help |
39 | //config: This option allows fbset to read the video mode database stored by | 39 | //config: This option allows fbset to read the video mode database stored by |
40 | //config: default as /etc/fb.modes, which can be used to set frame buffer | 40 | //config: default as /etc/fb.modes, which can be used to set frame buffer |
41 | //config: device to pre-defined video modes. | 41 | //config: device to pre-defined video modes. |
42 | 42 | ||
43 | //applet:IF_FBSET(APPLET(fbset, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 43 | //applet:IF_FBSET(APPLET(fbset, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
44 | 44 | ||
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index 62077ff3b..6faaf1b10 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: default y | 9 | //config: default y |
10 | //config: select PLATFORM_LINUX | 10 | //config: select PLATFORM_LINUX |
11 | //config: help | 11 | //config: help |
12 | //config: fdformat is used to low-level format a floppy disk. | 12 | //config: fdformat is used to low-level format a floppy disk. |
13 | 13 | ||
14 | //applet:IF_FDFORMAT(APPLET(fdformat, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 14 | //applet:IF_FDFORMAT(APPLET(fdformat, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
15 | 15 | ||
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index c3784c28d..e00f85864 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -11,10 +11,10 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: The fdisk utility is used to divide hard disks into one or more | 14 | //config: The fdisk utility is used to divide hard disks into one or more |
15 | //config: logical disks, which are generally called partitions. This utility | 15 | //config: logical disks, which are generally called partitions. This utility |
16 | //config: can be used to list and edit the set of partitions or BSD style | 16 | //config: can be used to list and edit the set of partitions or BSD style |
17 | //config: 'disk slices' that are defined on a hard drive. | 17 | //config: 'disk slices' that are defined on a hard drive. |
18 | //config: | 18 | //config: |
19 | //config:config FDISK_SUPPORT_LARGE_DISKS | 19 | //config:config FDISK_SUPPORT_LARGE_DISKS |
20 | //config: bool "Support over 4GB disks" | 20 | //config: bool "Support over 4GB disks" |
@@ -27,59 +27,59 @@ | |||
27 | //config: default y | 27 | //config: default y |
28 | //config: depends on FDISK | 28 | //config: depends on FDISK |
29 | //config: help | 29 | //config: help |
30 | //config: Enabling this option allows you to create or change a partition table | 30 | //config: Enabling this option allows you to create or change a partition table |
31 | //config: and write those changes out to disk. If you leave this option | 31 | //config: and write those changes out to disk. If you leave this option |
32 | //config: disabled, you will only be able to view the partition table. | 32 | //config: disabled, you will only be able to view the partition table. |
33 | //config: | 33 | //config: |
34 | //config:config FEATURE_AIX_LABEL | 34 | //config:config FEATURE_AIX_LABEL |
35 | //config: bool "Support AIX disklabels" | 35 | //config: bool "Support AIX disklabels" |
36 | //config: default n | 36 | //config: default n |
37 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE | 37 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE |
38 | //config: help | 38 | //config: help |
39 | //config: Enabling this option allows you to create or change AIX disklabels. | 39 | //config: Enabling this option allows you to create or change AIX disklabels. |
40 | //config: Most people can safely leave this option disabled. | 40 | //config: Most people can safely leave this option disabled. |
41 | //config: | 41 | //config: |
42 | //config:config FEATURE_SGI_LABEL | 42 | //config:config FEATURE_SGI_LABEL |
43 | //config: bool "Support SGI disklabels" | 43 | //config: bool "Support SGI disklabels" |
44 | //config: default n | 44 | //config: default n |
45 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE | 45 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE |
46 | //config: help | 46 | //config: help |
47 | //config: Enabling this option allows you to create or change SGI disklabels. | 47 | //config: Enabling this option allows you to create or change SGI disklabels. |
48 | //config: Most people can safely leave this option disabled. | 48 | //config: Most people can safely leave this option disabled. |
49 | //config: | 49 | //config: |
50 | //config:config FEATURE_SUN_LABEL | 50 | //config:config FEATURE_SUN_LABEL |
51 | //config: bool "Support SUN disklabels" | 51 | //config: bool "Support SUN disklabels" |
52 | //config: default n | 52 | //config: default n |
53 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE | 53 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE |
54 | //config: help | 54 | //config: help |
55 | //config: Enabling this option allows you to create or change SUN disklabels. | 55 | //config: Enabling this option allows you to create or change SUN disklabels. |
56 | //config: Most people can safely leave this option disabled. | 56 | //config: Most people can safely leave this option disabled. |
57 | //config: | 57 | //config: |
58 | //config:config FEATURE_OSF_LABEL | 58 | //config:config FEATURE_OSF_LABEL |
59 | //config: bool "Support BSD disklabels" | 59 | //config: bool "Support BSD disklabels" |
60 | //config: default n | 60 | //config: default n |
61 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE | 61 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE |
62 | //config: help | 62 | //config: help |
63 | //config: Enabling this option allows you to create or change BSD disklabels | 63 | //config: Enabling this option allows you to create or change BSD disklabels |
64 | //config: and define and edit BSD disk slices. | 64 | //config: and define and edit BSD disk slices. |
65 | //config: | 65 | //config: |
66 | //config:config FEATURE_GPT_LABEL | 66 | //config:config FEATURE_GPT_LABEL |
67 | //config: bool "Support GPT disklabels" | 67 | //config: bool "Support GPT disklabels" |
68 | //config: default n | 68 | //config: default n |
69 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE | 69 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE |
70 | //config: help | 70 | //config: help |
71 | //config: Enabling this option allows you to view GUID Partition Table | 71 | //config: Enabling this option allows you to view GUID Partition Table |
72 | //config: disklabels. | 72 | //config: disklabels. |
73 | //config: | 73 | //config: |
74 | //config:config FEATURE_FDISK_ADVANCED | 74 | //config:config FEATURE_FDISK_ADVANCED |
75 | //config: bool "Support expert mode" | 75 | //config: bool "Support expert mode" |
76 | //config: default y | 76 | //config: default y |
77 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE | 77 | //config: depends on FDISK && FEATURE_FDISK_WRITABLE |
78 | //config: help | 78 | //config: help |
79 | //config: Enabling this option allows you to do terribly unsafe things like | 79 | //config: Enabling this option allows you to do terribly unsafe things like |
80 | //config: define arbitrary drive geometry, move the beginning of data in a | 80 | //config: define arbitrary drive geometry, move the beginning of data in a |
81 | //config: partition, and similarly evil things. Unless you have a very good | 81 | //config: partition, and similarly evil things. Unless you have a very good |
82 | //config: reason you would be wise to leave this disabled. | 82 | //config: reason you would be wise to leave this disabled. |
83 | 83 | ||
84 | //applet:IF_FDISK(APPLET(fdisk, BB_DIR_SBIN, BB_SUID_DROP)) | 84 | //applet:IF_FDISK(APPLET(fdisk, BB_DIR_SBIN, BB_SUID_DROP)) |
85 | 85 | ||
diff --git a/util-linux/findfs.c b/util-linux/findfs.c index b9cd95687..359da581f 100644 --- a/util-linux/findfs.c +++ b/util-linux/findfs.c | |||
@@ -13,9 +13,9 @@ | |||
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: select VOLUMEID | 14 | //config: select VOLUMEID |
15 | //config: help | 15 | //config: help |
16 | //config: Prints the name of a filesystem with given label or UUID. | 16 | //config: Prints the name of a filesystem with given label or UUID. |
17 | //config: WARNING: | 17 | //config: WARNING: |
18 | //config: With all submodules selected, it will add ~8k to busybox. | 18 | //config: With all submodules selected, it will add ~8k to busybox. |
19 | 19 | ||
20 | /* Benefits from suid root: better access to /dev/BLOCKDEVs: */ | 20 | /* Benefits from suid root: better access to /dev/BLOCKDEVs: */ |
21 | //applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) | 21 | //applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) |
diff --git a/util-linux/flock.c b/util-linux/flock.c index e77718869..ec35af18f 100644 --- a/util-linux/flock.c +++ b/util-linux/flock.c | |||
@@ -7,7 +7,7 @@ | |||
7 | //config: bool "flock (6.1 kb)" | 7 | //config: bool "flock (6.1 kb)" |
8 | //config: default y | 8 | //config: default y |
9 | //config: help | 9 | //config: help |
10 | //config: Manage locks from shell scripts | 10 | //config: Manage locks from shell scripts |
11 | 11 | ||
12 | //applet:IF_FLOCK(APPLET(flock, BB_DIR_USR_BIN, BB_SUID_DROP)) | 12 | //applet:IF_FLOCK(APPLET(flock, BB_DIR_USR_BIN, BB_SUID_DROP)) |
13 | 13 | ||
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index 0b8d2bc5b..55187cb40 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c | |||
@@ -13,25 +13,25 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: fdflush is only needed when changing media on slightly-broken | 16 | //config: fdflush is only needed when changing media on slightly-broken |
17 | //config: removable media drives. It is used to make Linux believe that a | 17 | //config: removable media drives. It is used to make Linux believe that a |
18 | //config: hardware disk-change switch has been actuated, which causes Linux to | 18 | //config: hardware disk-change switch has been actuated, which causes Linux to |
19 | //config: forget anything it has cached from the previous media. If you have | 19 | //config: forget anything it has cached from the previous media. If you have |
20 | //config: such a slightly-broken drive, you will need to run fdflush every time | 20 | //config: such a slightly-broken drive, you will need to run fdflush every time |
21 | //config: you change a disk. Most people have working hardware and can safely | 21 | //config: you change a disk. Most people have working hardware and can safely |
22 | //config: leave this disabled. | 22 | //config: leave this disabled. |
23 | //config: | 23 | //config: |
24 | //config:config FREERAMDISK | 24 | //config:config FREERAMDISK |
25 | //config: bool "freeramdisk (1.4 kb)" | 25 | //config: bool "freeramdisk (1.4 kb)" |
26 | //config: default y | 26 | //config: default y |
27 | //config: select PLATFORM_LINUX | 27 | //config: select PLATFORM_LINUX |
28 | //config: help | 28 | //config: help |
29 | //config: Linux allows you to create ramdisks. This utility allows you to | 29 | //config: Linux allows you to create ramdisks. This utility allows you to |
30 | //config: delete them and completely free all memory that was used for the | 30 | //config: delete them and completely free all memory that was used for the |
31 | //config: ramdisk. For example, if you boot Linux into a ramdisk and later | 31 | //config: ramdisk. For example, if you boot Linux into a ramdisk and later |
32 | //config: pivot_root, you may want to free the memory that is allocated to the | 32 | //config: pivot_root, you may want to free the memory that is allocated to the |
33 | //config: ramdisk. If you have no use for freeing memory from a ramdisk, leave | 33 | //config: ramdisk. If you have no use for freeing memory from a ramdisk, leave |
34 | //config: this disabled. | 34 | //config: this disabled. |
35 | 35 | ||
36 | // APPLET_ODDNAME:name main location suid_type help | 36 | // APPLET_ODDNAME:name main location suid_type help |
37 | //applet:IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush)) | 37 | //applet:IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush)) |
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index 2ab7530ea..8c2b7d8de 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
@@ -89,12 +89,12 @@ | |||
89 | //config: bool "fsck_minix" | 89 | //config: bool "fsck_minix" |
90 | //config: default y | 90 | //config: default y |
91 | //config: help | 91 | //config: help |
92 | //config: The minix filesystem is a nice, small, compact, read-write filesystem | 92 | //config: The minix filesystem is a nice, small, compact, read-write filesystem |
93 | //config: with little overhead. It is not a journaling filesystem however and | 93 | //config: with little overhead. It is not a journaling filesystem however and |
94 | //config: can experience corruption if it is not properly unmounted or if the | 94 | //config: can experience corruption if it is not properly unmounted or if the |
95 | //config: power goes off in the middle of a write. This utility allows you to | 95 | //config: power goes off in the middle of a write. This utility allows you to |
96 | //config: check for and attempt to repair any corruption that occurs to a minix | 96 | //config: check for and attempt to repair any corruption that occurs to a minix |
97 | //config: filesystem. | 97 | //config: filesystem. |
98 | 98 | ||
99 | //applet:IF_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, BB_DIR_SBIN, BB_SUID_DROP, fsck_minix)) | 99 | //applet:IF_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, BB_DIR_SBIN, BB_SUID_DROP, fsck_minix)) |
100 | 100 | ||
diff --git a/util-linux/fsfreeze.c b/util-linux/fsfreeze.c index 8bc4c471f..5c10c8044 100644 --- a/util-linux/fsfreeze.c +++ b/util-linux/fsfreeze.c | |||
@@ -11,7 +11,7 @@ | |||
11 | //config: select PLATFORM_LINUX | 11 | //config: select PLATFORM_LINUX |
12 | //config: select LONG_OPTS | 12 | //config: select LONG_OPTS |
13 | //config: help | 13 | //config: help |
14 | //config: Halt new accesses and flush writes on a mounted filesystem. | 14 | //config: Halt new accesses and flush writes on a mounted filesystem. |
15 | 15 | ||
16 | //applet:IF_FSFREEZE(APPLET(fsfreeze, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 16 | //applet:IF_FSFREEZE(APPLET(fsfreeze, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
17 | 17 | ||
diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c index c07da8a62..6d0d61d92 100644 --- a/util-linux/fstrim.c +++ b/util-linux/fstrim.c | |||
@@ -13,7 +13,7 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: Discard unused blocks on a mounted filesystem. | 16 | //config: Discard unused blocks on a mounted filesystem. |
17 | 17 | ||
18 | //applet:IF_FSTRIM(APPLET(fstrim, BB_DIR_SBIN, BB_SUID_DROP)) | 18 | //applet:IF_FSTRIM(APPLET(fstrim, BB_DIR_SBIN, BB_SUID_DROP)) |
19 | 19 | ||
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 7c65a6a1f..cd5679cff 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -33,19 +33,19 @@ | |||
33 | //config: bool "getopt (5.6 kb)" | 33 | //config: bool "getopt (5.6 kb)" |
34 | //config: default y | 34 | //config: default y |
35 | //config: help | 35 | //config: help |
36 | //config: The getopt utility is used to break up (parse) options in command | 36 | //config: The getopt utility is used to break up (parse) options in command |
37 | //config: lines to make it easy to write complex shell scripts that also check | 37 | //config: lines to make it easy to write complex shell scripts that also check |
38 | //config: for legal (and illegal) options. If you want to write horribly | 38 | //config: for legal (and illegal) options. If you want to write horribly |
39 | //config: complex shell scripts, or use some horribly complex shell script | 39 | //config: complex shell scripts, or use some horribly complex shell script |
40 | //config: written by others, this utility may be for you. Most people will | 40 | //config: written by others, this utility may be for you. Most people will |
41 | //config: wisely leave this disabled. | 41 | //config: wisely leave this disabled. |
42 | //config: | 42 | //config: |
43 | //config:config FEATURE_GETOPT_LONG | 43 | //config:config FEATURE_GETOPT_LONG |
44 | //config: bool "Support option -l" | 44 | //config: bool "Support option -l" |
45 | //config: default y if LONG_OPTS | 45 | //config: default y if LONG_OPTS |
46 | //config: depends on GETOPT | 46 | //config: depends on GETOPT |
47 | //config: help | 47 | //config: help |
48 | //config: Enable support for long options (option -l). | 48 | //config: Enable support for long options (option -l). |
49 | 49 | ||
50 | //applet:IF_GETOPT(APPLET(getopt, BB_DIR_BIN, BB_SUID_DROP)) | 50 | //applet:IF_GETOPT(APPLET(getopt, BB_DIR_BIN, BB_SUID_DROP)) |
51 | 51 | ||
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index e8c0ee0f5..719feaf4e 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c | |||
@@ -12,24 +12,24 @@ | |||
12 | //config: bool "hexdump (8.8 kb)" | 12 | //config: bool "hexdump (8.8 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: help | 14 | //config: help |
15 | //config: The hexdump utility is used to display binary data in a readable | 15 | //config: The hexdump utility is used to display binary data in a readable |
16 | //config: way that is comparable to the output from most hex editors. | 16 | //config: way that is comparable to the output from most hex editors. |
17 | //config: | 17 | //config: |
18 | //config:config FEATURE_HEXDUMP_REVERSE | 18 | //config:config FEATURE_HEXDUMP_REVERSE |
19 | //config: bool "Support -R, reverse of 'hexdump -Cv'" | 19 | //config: bool "Support -R, reverse of 'hexdump -Cv'" |
20 | //config: default y | 20 | //config: default y |
21 | //config: depends on HEXDUMP | 21 | //config: depends on HEXDUMP |
22 | //config: help | 22 | //config: help |
23 | //config: The hexdump utility is used to display binary data in an ascii | 23 | //config: The hexdump utility is used to display binary data in an ascii |
24 | //config: readable way. This option creates binary data from an ascii input. | 24 | //config: readable way. This option creates binary data from an ascii input. |
25 | //config: NB: this option is non-standard. It's unwise to use it in scripts | 25 | //config: NB: this option is non-standard. It's unwise to use it in scripts |
26 | //config: aimed to be portable. | 26 | //config: aimed to be portable. |
27 | //config: | 27 | //config: |
28 | //config:config HD | 28 | //config:config HD |
29 | //config: bool "hd (8 kb)" | 29 | //config: bool "hd (8 kb)" |
30 | //config: default y | 30 | //config: default y |
31 | //config: help | 31 | //config: help |
32 | //config: hd is an alias to hexdump -C. | 32 | //config: hd is an alias to hexdump -C. |
33 | 33 | ||
34 | //applet:IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump)) | 34 | //applet:IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump)) |
35 | //applet:IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd)) | 35 | //applet:IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd)) |
diff --git a/util-linux/hexdump_xxd.c b/util-linux/hexdump_xxd.c index 5f72d3be4..37e58f2d0 100644 --- a/util-linux/hexdump_xxd.c +++ b/util-linux/hexdump_xxd.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "xxd (8.9 kb)" | 10 | //config: bool "xxd (8.9 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: The xxd utility is used to display binary data in a readable | 13 | //config: The xxd utility is used to display binary data in a readable |
14 | //config: way that is comparable to the output from most hex editors. | 14 | //config: way that is comparable to the output from most hex editors. |
15 | 15 | ||
16 | //applet:IF_XXD(APPLET_NOEXEC(xxd, xxd, BB_DIR_USR_BIN, BB_SUID_DROP, xxd)) | 16 | //applet:IF_XXD(APPLET_NOEXEC(xxd, xxd, BB_DIR_USR_BIN, BB_SUID_DROP, xxd)) |
17 | 17 | ||
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index c2721dbac..5df56de15 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -11,10 +11,10 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: The hwclock utility is used to read and set the hardware clock | 14 | //config: The hwclock utility is used to read and set the hardware clock |
15 | //config: on a system. This is primarily used to set the current time on | 15 | //config: on a system. This is primarily used to set the current time on |
16 | //config: shutdown in the hardware clock, so the hardware will keep the | 16 | //config: shutdown in the hardware clock, so the hardware will keep the |
17 | //config: correct time when Linux is _not_ running. | 17 | //config: correct time when Linux is _not_ running. |
18 | //config: | 18 | //config: |
19 | //config:config FEATURE_HWCLOCK_LONG_OPTIONS | 19 | //config:config FEATURE_HWCLOCK_LONG_OPTIONS |
20 | //config: bool "Support long options (--hctosys,...)" | 20 | //config: bool "Support long options (--hctosys,...)" |
@@ -26,12 +26,12 @@ | |||
26 | //config: default n # util-linux-ng in Fedora 13 still uses /etc/adjtime | 26 | //config: default n # util-linux-ng in Fedora 13 still uses /etc/adjtime |
27 | //config: depends on HWCLOCK | 27 | //config: depends on HWCLOCK |
28 | //config: help | 28 | //config: help |
29 | //config: Starting with FHS 2.3, the adjtime state file is supposed to exist | 29 | //config: Starting with FHS 2.3, the adjtime state file is supposed to exist |
30 | //config: at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish | 30 | //config: at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish |
31 | //config: to use the FHS behavior, answer Y here, otherwise answer N for the | 31 | //config: to use the FHS behavior, answer Y here, otherwise answer N for the |
32 | //config: classic /etc/adjtime path. | 32 | //config: classic /etc/adjtime path. |
33 | //config: | 33 | //config: |
34 | //config: pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO | 34 | //config: pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO |
35 | 35 | ||
36 | //applet:IF_HWCLOCK(APPLET(hwclock, BB_DIR_SBIN, BB_SUID_DROP)) | 36 | //applet:IF_HWCLOCK(APPLET(hwclock, BB_DIR_SBIN, BB_SUID_DROP)) |
37 | 37 | ||
diff --git a/util-linux/ionice.c b/util-linux/ionice.c index cda5a90d6..c7b7f0373 100644 --- a/util-linux/ionice.c +++ b/util-linux/ionice.c | |||
@@ -11,8 +11,8 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: Set/set program io scheduling class and priority | 14 | //config: Set/set program io scheduling class and priority |
15 | //config: Requires kernel >= 2.6.13 | 15 | //config: Requires kernel >= 2.6.13 |
16 | 16 | ||
17 | //applet:IF_IONICE(APPLET(ionice, BB_DIR_BIN, BB_SUID_DROP)) | 17 | //applet:IF_IONICE(APPLET(ionice, BB_DIR_BIN, BB_SUID_DROP)) |
18 | 18 | ||
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c index cabd8b9e7..c51d33143 100644 --- a/util-linux/ipcrm.c +++ b/util-linux/ipcrm.c | |||
@@ -11,9 +11,9 @@ | |||
11 | //config: bool "ipcrm (2.9 kb)" | 11 | //config: bool "ipcrm (2.9 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: The ipcrm utility allows the removal of System V interprocess | 14 | //config: The ipcrm utility allows the removal of System V interprocess |
15 | //config: communication (IPC) objects and the associated data structures | 15 | //config: communication (IPC) objects and the associated data structures |
16 | //config: from the system. | 16 | //config: from the system. |
17 | 17 | ||
18 | //applet:IF_IPCRM(APPLET(ipcrm, BB_DIR_USR_BIN, BB_SUID_DROP)) | 18 | //applet:IF_IPCRM(APPLET(ipcrm, BB_DIR_USR_BIN, BB_SUID_DROP)) |
19 | 19 | ||
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index 0d5a16a2b..1404930d4 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c | |||
@@ -12,8 +12,8 @@ | |||
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: help | 14 | //config: help |
15 | //config: The ipcs utility is used to provide information on the currently | 15 | //config: The ipcs utility is used to provide information on the currently |
16 | //config: allocated System V interprocess (IPC) objects in the system. | 16 | //config: allocated System V interprocess (IPC) objects in the system. |
17 | 17 | ||
18 | //applet:IF_IPCS(APPLET(ipcs, BB_DIR_USR_BIN, BB_SUID_DROP)) | 18 | //applet:IF_IPCS(APPLET(ipcs, BB_DIR_USR_BIN, BB_SUID_DROP)) |
19 | 19 | ||
diff --git a/util-linux/last.c b/util-linux/last.c index 5bce85753..f5ee8e5f4 100644 --- a/util-linux/last.c +++ b/util-linux/last.c | |||
@@ -11,15 +11,15 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: depends on FEATURE_WTMP | 12 | //config: depends on FEATURE_WTMP |
13 | //config: help | 13 | //config: help |
14 | //config: 'last' displays a list of the last users that logged into the system. | 14 | //config: 'last' displays a list of the last users that logged into the system. |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_LAST_FANCY | 16 | //config:config FEATURE_LAST_FANCY |
17 | //config: bool "Output extra information" | 17 | //config: bool "Output extra information" |
18 | //config: default y | 18 | //config: default y |
19 | //config: depends on LAST | 19 | //config: depends on LAST |
20 | //config: help | 20 | //config: help |
21 | //config: 'last' displays detailed information about the last users that | 21 | //config: 'last' displays detailed information about the last users that |
22 | //config: logged into the system (mimics sysvinit last). +900 bytes. | 22 | //config: logged into the system (mimics sysvinit last). +900 bytes. |
23 | 23 | ||
24 | //applet:IF_LAST(APPLET(last, BB_DIR_USR_BIN, BB_SUID_DROP)) | 24 | //applet:IF_LAST(APPLET(last, BB_DIR_USR_BIN, BB_SUID_DROP)) |
25 | 25 | ||
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index cbd1c6052..c608de6cc 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c | |||
@@ -11,9 +11,9 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: losetup is used to associate or detach a loop device with a regular | 14 | //config: losetup is used to associate or detach a loop device with a regular |
15 | //config: file or block device, and to query the status of a loop device. This | 15 | //config: file or block device, and to query the status of a loop device. This |
16 | //config: version does not currently support enabling data encryption. | 16 | //config: version does not currently support enabling data encryption. |
17 | 17 | ||
18 | //kbuild:lib-$(CONFIG_LOSETUP) += losetup.o | 18 | //kbuild:lib-$(CONFIG_LOSETUP) += losetup.o |
19 | 19 | ||
diff --git a/util-linux/lspci.c b/util-linux/lspci.c index c4f43bd12..3877deb67 100644 --- a/util-linux/lspci.c +++ b/util-linux/lspci.c | |||
@@ -11,10 +11,10 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: #select PLATFORM_LINUX | 12 | //config: #select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: lspci is a utility for displaying information about PCI buses in the | 14 | //config: lspci is a utility for displaying information about PCI buses in the |
15 | //config: system and devices connected to them. | 15 | //config: system and devices connected to them. |
16 | //config: | 16 | //config: |
17 | //config: This version uses sysfs (/sys/bus/pci/devices) only. | 17 | //config: This version uses sysfs (/sys/bus/pci/devices) only. |
18 | 18 | ||
19 | //applet:IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/util-linux/lsusb.c b/util-linux/lsusb.c index 9d12d8752..cabf047cf 100644 --- a/util-linux/lsusb.c +++ b/util-linux/lsusb.c | |||
@@ -11,10 +11,10 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: #select PLATFORM_LINUX | 12 | //config: #select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: lsusb is a utility for displaying information about USB buses in the | 14 | //config: lsusb is a utility for displaying information about USB buses in the |
15 | //config: system and devices connected to them. | 15 | //config: system and devices connected to them. |
16 | //config: | 16 | //config: |
17 | //config: This version uses sysfs (/sys/bus/usb/devices) only. | 17 | //config: This version uses sysfs (/sys/bus/usb/devices) only. |
18 | 18 | ||
19 | //applet:IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index a68e3f4e6..23b6f8285 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -13,58 +13,58 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: mdev is a mini-udev implementation for dynamically creating device | 16 | //config: mdev is a mini-udev implementation for dynamically creating device |
17 | //config: nodes in the /dev directory. | 17 | //config: nodes in the /dev directory. |
18 | //config: | 18 | //config: |
19 | //config: For more information, please see docs/mdev.txt | 19 | //config: For more information, please see docs/mdev.txt |
20 | //config: | 20 | //config: |
21 | //config:config FEATURE_MDEV_CONF | 21 | //config:config FEATURE_MDEV_CONF |
22 | //config: bool "Support /etc/mdev.conf" | 22 | //config: bool "Support /etc/mdev.conf" |
23 | //config: default y | 23 | //config: default y |
24 | //config: depends on MDEV | 24 | //config: depends on MDEV |
25 | //config: help | 25 | //config: help |
26 | //config: Add support for the mdev config file to control ownership and | 26 | //config: Add support for the mdev config file to control ownership and |
27 | //config: permissions of the device nodes. | 27 | //config: permissions of the device nodes. |
28 | //config: | 28 | //config: |
29 | //config: For more information, please see docs/mdev.txt | 29 | //config: For more information, please see docs/mdev.txt |
30 | //config: | 30 | //config: |
31 | //config:config FEATURE_MDEV_RENAME | 31 | //config:config FEATURE_MDEV_RENAME |
32 | //config: bool "Support subdirs/symlinks" | 32 | //config: bool "Support subdirs/symlinks" |
33 | //config: default y | 33 | //config: default y |
34 | //config: depends on FEATURE_MDEV_CONF | 34 | //config: depends on FEATURE_MDEV_CONF |
35 | //config: help | 35 | //config: help |
36 | //config: Add support for renaming devices and creating symlinks. | 36 | //config: Add support for renaming devices and creating symlinks. |
37 | //config: | 37 | //config: |
38 | //config: For more information, please see docs/mdev.txt | 38 | //config: For more information, please see docs/mdev.txt |
39 | //config: | 39 | //config: |
40 | //config:config FEATURE_MDEV_RENAME_REGEXP | 40 | //config:config FEATURE_MDEV_RENAME_REGEXP |
41 | //config: bool "Support regular expressions substitutions when renaming device" | 41 | //config: bool "Support regular expressions substitutions when renaming device" |
42 | //config: default y | 42 | //config: default y |
43 | //config: depends on FEATURE_MDEV_RENAME | 43 | //config: depends on FEATURE_MDEV_RENAME |
44 | //config: help | 44 | //config: help |
45 | //config: Add support for regular expressions substitutions when renaming | 45 | //config: Add support for regular expressions substitutions when renaming |
46 | //config: device. | 46 | //config: device. |
47 | //config: | 47 | //config: |
48 | //config:config FEATURE_MDEV_EXEC | 48 | //config:config FEATURE_MDEV_EXEC |
49 | //config: bool "Support command execution at device addition/removal" | 49 | //config: bool "Support command execution at device addition/removal" |
50 | //config: default y | 50 | //config: default y |
51 | //config: depends on FEATURE_MDEV_CONF | 51 | //config: depends on FEATURE_MDEV_CONF |
52 | //config: help | 52 | //config: help |
53 | //config: This adds support for an optional field to /etc/mdev.conf for | 53 | //config: This adds support for an optional field to /etc/mdev.conf for |
54 | //config: executing commands when devices are created/removed. | 54 | //config: executing commands when devices are created/removed. |
55 | //config: | 55 | //config: |
56 | //config: For more information, please see docs/mdev.txt | 56 | //config: For more information, please see docs/mdev.txt |
57 | //config: | 57 | //config: |
58 | //config:config FEATURE_MDEV_LOAD_FIRMWARE | 58 | //config:config FEATURE_MDEV_LOAD_FIRMWARE |
59 | //config: bool "Support loading of firmwares" | 59 | //config: bool "Support loading of firmwares" |
60 | //config: default y | 60 | //config: default y |
61 | //config: depends on MDEV | 61 | //config: depends on MDEV |
62 | //config: help | 62 | //config: help |
63 | //config: Some devices need to load firmware before they can be usable. | 63 | //config: Some devices need to load firmware before they can be usable. |
64 | //config: | 64 | //config: |
65 | //config: These devices will request userspace look up the files in | 65 | //config: These devices will request userspace look up the files in |
66 | //config: /lib/firmware/ and if it exists, send it to the kernel for | 66 | //config: /lib/firmware/ and if it exists, send it to the kernel for |
67 | //config: loading into the hardware. | 67 | //config: loading into the hardware. |
68 | 68 | ||
69 | //applet:IF_MDEV(APPLET(mdev, BB_DIR_SBIN, BB_SUID_DROP)) | 69 | //applet:IF_MDEV(APPLET(mdev, BB_DIR_SBIN, BB_SUID_DROP)) |
70 | 70 | ||
diff --git a/util-linux/mesg.c b/util-linux/mesg.c index a83da03e6..c4371eb24 100644 --- a/util-linux/mesg.c +++ b/util-linux/mesg.c | |||
@@ -11,20 +11,20 @@ | |||
11 | //config: bool "mesg (1.2 kb)" | 11 | //config: bool "mesg (1.2 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: Mesg controls access to your terminal by others. It is typically | 14 | //config: Mesg controls access to your terminal by others. It is typically |
15 | //config: used to allow or disallow other users to write to your terminal | 15 | //config: used to allow or disallow other users to write to your terminal |
16 | //config: | 16 | //config: |
17 | //config:config FEATURE_MESG_ENABLE_ONLY_GROUP | 17 | //config:config FEATURE_MESG_ENABLE_ONLY_GROUP |
18 | //config: bool "Enable writing to tty only by group, not by everybody" | 18 | //config: bool "Enable writing to tty only by group, not by everybody" |
19 | //config: default y | 19 | //config: default y |
20 | //config: depends on MESG | 20 | //config: depends on MESG |
21 | //config: help | 21 | //config: help |
22 | //config: Usually, ttys are owned by group "tty", and "write" tool is | 22 | //config: Usually, ttys are owned by group "tty", and "write" tool is |
23 | //config: setgid to this group. This way, "mesg y" only needs to enable | 23 | //config: setgid to this group. This way, "mesg y" only needs to enable |
24 | //config: "write by owning group" bit in tty mode. | 24 | //config: "write by owning group" bit in tty mode. |
25 | //config: | 25 | //config: |
26 | //config: If you set this option to N, "mesg y" will enable writing | 26 | //config: If you set this option to N, "mesg y" will enable writing |
27 | //config: by anybody at all. This is not recommended. | 27 | //config: by anybody at all. This is not recommended. |
28 | 28 | ||
29 | //applet:IF_MESG(APPLET(mesg, BB_DIR_USR_BIN, BB_SUID_DROP)) | 29 | //applet:IF_MESG(APPLET(mesg, BB_DIR_USR_BIN, BB_SUID_DROP)) |
30 | 30 | ||
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index f646f368c..8434dd6ad 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c | |||
@@ -12,14 +12,14 @@ | |||
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: help | 14 | //config: help |
15 | //config: Utility to create EXT2 filesystems. | 15 | //config: Utility to create EXT2 filesystems. |
16 | //config: | 16 | //config: |
17 | //config:config MKFS_EXT2 | 17 | //config:config MKFS_EXT2 |
18 | //config: bool "mkfs.ext2 (9.8 kb)" | 18 | //config: bool "mkfs.ext2 (9.8 kb)" |
19 | //config: default y | 19 | //config: default y |
20 | //config: select PLATFORM_LINUX | 20 | //config: select PLATFORM_LINUX |
21 | //config: help | 21 | //config: help |
22 | //config: Alias to "mke2fs". | 22 | //config: Alias to "mke2fs". |
23 | 23 | ||
24 | // APPLET_ODDNAME:name main location suid_type help | 24 | // APPLET_ODDNAME:name main location suid_type help |
25 | //applet:IF_MKE2FS( APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2)) | 25 | //applet:IF_MKE2FS( APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2)) |
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 0dfe34705..88647e9d8 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
@@ -67,18 +67,18 @@ | |||
67 | //config: default y | 67 | //config: default y |
68 | //config: select PLATFORM_LINUX | 68 | //config: select PLATFORM_LINUX |
69 | //config: help | 69 | //config: help |
70 | //config: The minix filesystem is a nice, small, compact, read-write filesystem | 70 | //config: The minix filesystem is a nice, small, compact, read-write filesystem |
71 | //config: with little overhead. If you wish to be able to create minix | 71 | //config: with little overhead. If you wish to be able to create minix |
72 | //config: filesystems this utility will do the job for you. | 72 | //config: filesystems this utility will do the job for you. |
73 | //config: | 73 | //config: |
74 | //config:config FEATURE_MINIX2 | 74 | //config:config FEATURE_MINIX2 |
75 | //config: bool "Support Minix fs v2 (fsck_minix/mkfs_minix)" | 75 | //config: bool "Support Minix fs v2 (fsck_minix/mkfs_minix)" |
76 | //config: default y | 76 | //config: default y |
77 | //config: depends on FSCK_MINIX || MKFS_MINIX | 77 | //config: depends on FSCK_MINIX || MKFS_MINIX |
78 | //config: help | 78 | //config: help |
79 | //config: If you wish to be able to create version 2 minix filesystems, enable | 79 | //config: If you wish to be able to create version 2 minix filesystems, enable |
80 | //config: this. If you enabled 'mkfs_minix' then you almost certainly want to | 80 | //config: this. If you enabled 'mkfs_minix' then you almost certainly want to |
81 | //config: be using the version 2 filesystem support. | 81 | //config: be using the version 2 filesystem support. |
82 | 82 | ||
83 | // APPLET_ODDNAME:name main location suid_type help | 83 | // APPLET_ODDNAME:name main location suid_type help |
84 | //applet:IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix)) | 84 | //applet:IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix)) |
diff --git a/util-linux/mkfs_reiser.c b/util-linux/mkfs_reiser.c index d01119f7f..c7d99b018 100644 --- a/util-linux/mkfs_reiser.c +++ b/util-linux/mkfs_reiser.c | |||
@@ -11,8 +11,8 @@ | |||
11 | //config: default n | 11 | //config: default n |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: Utility to create ReiserFS filesystems. | 14 | //config: Utility to create ReiserFS filesystems. |
15 | //config: Note: this applet needs a lot of testing and polishing. | 15 | //config: Note: this applet needs a lot of testing and polishing. |
16 | 16 | ||
17 | //applet:IF_MKFS_REISER(APPLET_ODDNAME(mkfs.reiser, mkfs_reiser, BB_DIR_SBIN, BB_SUID_DROP, mkfs_reiser)) | 17 | //applet:IF_MKFS_REISER(APPLET_ODDNAME(mkfs.reiser, mkfs_reiser, BB_DIR_SBIN, BB_SUID_DROP, mkfs_reiser)) |
18 | 18 | ||
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c index a191c03d6..f9768ed56 100644 --- a/util-linux/mkfs_vfat.c +++ b/util-linux/mkfs_vfat.c | |||
@@ -12,14 +12,14 @@ | |||
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: help | 14 | //config: help |
15 | //config: Utility to create FAT32 filesystems. | 15 | //config: Utility to create FAT32 filesystems. |
16 | //config: | 16 | //config: |
17 | //config:config MKFS_VFAT | 17 | //config:config MKFS_VFAT |
18 | //config: bool "mkfs.vfat (6.8 kb)" | 18 | //config: bool "mkfs.vfat (6.8 kb)" |
19 | //config: default y | 19 | //config: default y |
20 | //config: select PLATFORM_LINUX | 20 | //config: select PLATFORM_LINUX |
21 | //config: help | 21 | //config: help |
22 | //config: Alias to "mkdosfs". | 22 | //config: Alias to "mkdosfs". |
23 | 23 | ||
24 | // APPLET_ODDNAME:name main location suid_type help | 24 | // APPLET_ODDNAME:name main location suid_type help |
25 | //applet:IF_MKDOSFS( APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat)) | 25 | //applet:IF_MKDOSFS( APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat)) |
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index deb911485..e44e13c0d 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c | |||
@@ -9,21 +9,21 @@ | |||
9 | //config: bool "mkswap (5.8 kb)" | 9 | //config: bool "mkswap (5.8 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: The mkswap utility is used to configure a file or disk partition as | 12 | //config: The mkswap utility is used to configure a file or disk partition as |
13 | //config: Linux swap space. This allows Linux to use the entire file or | 13 | //config: Linux swap space. This allows Linux to use the entire file or |
14 | //config: partition as if it were additional RAM, which can greatly increase | 14 | //config: partition as if it were additional RAM, which can greatly increase |
15 | //config: the capability of low-memory machines. This additional memory is | 15 | //config: the capability of low-memory machines. This additional memory is |
16 | //config: much slower than real RAM, but can be very helpful at preventing your | 16 | //config: much slower than real RAM, but can be very helpful at preventing your |
17 | //config: applications being killed by the Linux out of memory (OOM) killer. | 17 | //config: applications being killed by the Linux out of memory (OOM) killer. |
18 | //config: Once you have created swap space using 'mkswap' you need to enable | 18 | //config: Once you have created swap space using 'mkswap' you need to enable |
19 | //config: the swap space using the 'swapon' utility. | 19 | //config: the swap space using the 'swapon' utility. |
20 | //config: | 20 | //config: |
21 | //config:config FEATURE_MKSWAP_UUID | 21 | //config:config FEATURE_MKSWAP_UUID |
22 | //config: bool "UUID support" | 22 | //config: bool "UUID support" |
23 | //config: default y | 23 | //config: default y |
24 | //config: depends on MKSWAP | 24 | //config: depends on MKSWAP |
25 | //config: help | 25 | //config: help |
26 | //config: Generate swap spaces with universally unique identifiers. | 26 | //config: Generate swap spaces with universally unique identifiers. |
27 | 27 | ||
28 | //applet:IF_MKSWAP(APPLET(mkswap, BB_DIR_SBIN, BB_SUID_DROP)) | 28 | //applet:IF_MKSWAP(APPLET(mkswap, BB_DIR_SBIN, BB_SUID_DROP)) |
29 | 29 | ||
diff --git a/util-linux/more.c b/util-linux/more.c index 11546a8f8..926cf5f26 100644 --- a/util-linux/more.c +++ b/util-linux/more.c | |||
@@ -17,11 +17,11 @@ | |||
17 | //config: bool "more (6.7 kb)" | 17 | //config: bool "more (6.7 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: help | 19 | //config: help |
20 | //config: more is a simple utility which allows you to read text one screen | 20 | //config: more is a simple utility which allows you to read text one screen |
21 | //config: sized page at a time. If you want to read text that is larger than | 21 | //config: sized page at a time. If you want to read text that is larger than |
22 | //config: the screen, and you are using anything faster than a 300 baud modem, | 22 | //config: the screen, and you are using anything faster than a 300 baud modem, |
23 | //config: you will probably find this utility very helpful. If you don't have | 23 | //config: you will probably find this utility very helpful. If you don't have |
24 | //config: any need to reading text files, you can leave this disabled. | 24 | //config: any need to reading text files, you can leave this disabled. |
25 | 25 | ||
26 | //applet:IF_MORE(APPLET(more, BB_DIR_BIN, BB_SUID_DROP)) | 26 | //applet:IF_MORE(APPLET(more, BB_DIR_BIN, BB_SUID_DROP)) |
27 | 27 | ||
diff --git a/util-linux/mount.c b/util-linux/mount.c index 423e89d5b..1a39da2db 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -22,40 +22,40 @@ | |||
22 | //config: default y | 22 | //config: default y |
23 | //config: select PLATFORM_LINUX | 23 | //config: select PLATFORM_LINUX |
24 | //config: help | 24 | //config: help |
25 | //config: All files and filesystems in Unix are arranged into one big directory | 25 | //config: All files and filesystems in Unix are arranged into one big directory |
26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a | 26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a |
27 | //config: particular part of the tree. A filesystem can either live on a block | 27 | //config: particular part of the tree. A filesystem can either live on a block |
28 | //config: device, or it can be accessible over the network, as is the case with | 28 | //config: device, or it can be accessible over the network, as is the case with |
29 | //config: NFS filesystems. Most people using BusyBox will also want to enable | 29 | //config: NFS filesystems. Most people using BusyBox will also want to enable |
30 | //config: the 'mount' utility. | 30 | //config: the 'mount' utility. |
31 | //config: | 31 | //config: |
32 | //config:config FEATURE_MOUNT_FAKE | 32 | //config:config FEATURE_MOUNT_FAKE |
33 | //config: bool "Support option -f" | 33 | //config: bool "Support option -f" |
34 | //config: default y | 34 | //config: default y |
35 | //config: depends on MOUNT | 35 | //config: depends on MOUNT |
36 | //config: help | 36 | //config: help |
37 | //config: Enable support for faking a file system mount. | 37 | //config: Enable support for faking a file system mount. |
38 | //config: | 38 | //config: |
39 | //config:config FEATURE_MOUNT_VERBOSE | 39 | //config:config FEATURE_MOUNT_VERBOSE |
40 | //config: bool "Support option -v" | 40 | //config: bool "Support option -v" |
41 | //config: default y | 41 | //config: default y |
42 | //config: depends on MOUNT | 42 | //config: depends on MOUNT |
43 | //config: help | 43 | //config: help |
44 | //config: Enable multi-level -v[vv...] verbose messages. Useful if you | 44 | //config: Enable multi-level -v[vv...] verbose messages. Useful if you |
45 | //config: debug mount problems and want to see what is exactly passed | 45 | //config: debug mount problems and want to see what is exactly passed |
46 | //config: to the kernel. | 46 | //config: to the kernel. |
47 | //config: | 47 | //config: |
48 | //config:config FEATURE_MOUNT_HELPERS | 48 | //config:config FEATURE_MOUNT_HELPERS |
49 | //config: bool "Support mount helpers" | 49 | //config: bool "Support mount helpers" |
50 | //config: default n | 50 | //config: default n |
51 | //config: depends on MOUNT | 51 | //config: depends on MOUNT |
52 | //config: help | 52 | //config: help |
53 | //config: Enable mounting of virtual file systems via external helpers. | 53 | //config: Enable mounting of virtual file systems via external helpers. |
54 | //config: E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call | 54 | //config: E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call |
55 | //config: "obexfs -b00.11.22.33.44.55 /mnt" | 55 | //config: "obexfs -b00.11.22.33.44.55 /mnt" |
56 | //config: Also "mount -t sometype [-o opts] fs /mnt" will try | 56 | //config: Also "mount -t sometype [-o opts] fs /mnt" will try |
57 | //config: "sometype [-o opts] fs /mnt" if simple mount syscall fails. | 57 | //config: "sometype [-o opts] fs /mnt" if simple mount syscall fails. |
58 | //config: The idea is to use such virtual filesystems in /etc/fstab. | 58 | //config: The idea is to use such virtual filesystems in /etc/fstab. |
59 | //config: | 59 | //config: |
60 | //config:config FEATURE_MOUNT_LABEL | 60 | //config:config FEATURE_MOUNT_LABEL |
61 | //config: bool "Support specifying devices by label or UUID" | 61 | //config: bool "Support specifying devices by label or UUID" |
@@ -63,9 +63,9 @@ | |||
63 | //config: depends on MOUNT | 63 | //config: depends on MOUNT |
64 | //config: select VOLUMEID | 64 | //config: select VOLUMEID |
65 | //config: help | 65 | //config: help |
66 | //config: This allows for specifying a device by label or uuid, rather than by | 66 | //config: This allows for specifying a device by label or uuid, rather than by |
67 | //config: name. This feature utilizes the same functionality as blkid/findfs. | 67 | //config: name. This feature utilizes the same functionality as blkid/findfs. |
68 | //config: This also enables label or uuid support for swapon. | 68 | //config: This also enables label or uuid support for swapon. |
69 | //config: | 69 | //config: |
70 | //config:config FEATURE_MOUNT_NFS | 70 | //config:config FEATURE_MOUNT_NFS |
71 | //config: bool "Support mounting NFS file systems on Linux < 2.6.23" | 71 | //config: bool "Support mounting NFS file systems on Linux < 2.6.23" |
@@ -74,43 +74,43 @@ | |||
74 | //config: select FEATURE_HAVE_RPC | 74 | //config: select FEATURE_HAVE_RPC |
75 | //config: select FEATURE_SYSLOG | 75 | //config: select FEATURE_SYSLOG |
76 | //config: help | 76 | //config: help |
77 | //config: Enable mounting of NFS file systems on Linux kernels prior | 77 | //config: Enable mounting of NFS file systems on Linux kernels prior |
78 | //config: to version 2.6.23. Note that in this case mounting of NFS | 78 | //config: to version 2.6.23. Note that in this case mounting of NFS |
79 | //config: over IPv6 will not be possible. | 79 | //config: over IPv6 will not be possible. |
80 | //config: | 80 | //config: |
81 | //config: Note that this option links in RPC support from libc, | 81 | //config: Note that this option links in RPC support from libc, |
82 | //config: which is rather large (~10 kbytes on uclibc). | 82 | //config: which is rather large (~10 kbytes on uclibc). |
83 | //config: | 83 | //config: |
84 | //config:config FEATURE_MOUNT_CIFS | 84 | //config:config FEATURE_MOUNT_CIFS |
85 | //config: bool "Support mounting CIFS/SMB file systems" | 85 | //config: bool "Support mounting CIFS/SMB file systems" |
86 | //config: default y | 86 | //config: default y |
87 | //config: depends on MOUNT | 87 | //config: depends on MOUNT |
88 | //config: help | 88 | //config: help |
89 | //config: Enable support for samba mounts. | 89 | //config: Enable support for samba mounts. |
90 | //config: | 90 | //config: |
91 | //config:config FEATURE_MOUNT_FLAGS | 91 | //config:config FEATURE_MOUNT_FLAGS |
92 | //config: depends on MOUNT | 92 | //config: depends on MOUNT |
93 | //config: bool "Support lots of -o flags" | 93 | //config: bool "Support lots of -o flags" |
94 | //config: default y | 94 | //config: default y |
95 | //config: help | 95 | //config: help |
96 | //config: Without this, mount only supports ro/rw/remount. With this, it | 96 | //config: Without this, mount only supports ro/rw/remount. With this, it |
97 | //config: supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime, | 97 | //config: supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime, |
98 | //config: noatime, diratime, nodiratime, loud, bind, move, shared, slave, | 98 | //config: noatime, diratime, nodiratime, loud, bind, move, shared, slave, |
99 | //config: private, unbindable, rshared, rslave, rprivate, and runbindable. | 99 | //config: private, unbindable, rshared, rslave, rprivate, and runbindable. |
100 | //config: | 100 | //config: |
101 | //config:config FEATURE_MOUNT_FSTAB | 101 | //config:config FEATURE_MOUNT_FSTAB |
102 | //config: depends on MOUNT | 102 | //config: depends on MOUNT |
103 | //config: bool "Support /etc/fstab and -a" | 103 | //config: bool "Support /etc/fstab and -a" |
104 | //config: default y | 104 | //config: default y |
105 | //config: help | 105 | //config: help |
106 | //config: Support mount all and looking for files in /etc/fstab. | 106 | //config: Support mount all and looking for files in /etc/fstab. |
107 | //config: | 107 | //config: |
108 | //config:config FEATURE_MOUNT_OTHERTAB | 108 | //config:config FEATURE_MOUNT_OTHERTAB |
109 | //config: depends on FEATURE_MOUNT_FSTAB | 109 | //config: depends on FEATURE_MOUNT_FSTAB |
110 | //config: bool "Support -T <alt_fstab>" | 110 | //config: bool "Support -T <alt_fstab>" |
111 | //config: default y | 111 | //config: default y |
112 | //config: help | 112 | //config: help |
113 | //config: Support mount -T (specifying an alternate fstab) | 113 | //config: Support mount -T (specifying an alternate fstab) |
114 | 114 | ||
115 | /* On full-blown systems, requires suid for user mounts. | 115 | /* On full-blown systems, requires suid for user mounts. |
116 | * But it's not unthinkable to have it available in non-suid flavor on some systems, | 116 | * But it's not unthinkable to have it available in non-suid flavor on some systems, |
diff --git a/util-linux/mountpoint.c b/util-linux/mountpoint.c index 0ba4a308e..b7f048196 100644 --- a/util-linux/mountpoint.c +++ b/util-linux/mountpoint.c | |||
@@ -12,7 +12,7 @@ | |||
12 | //config: bool "mountpoint (4.5 kb)" | 12 | //config: bool "mountpoint (4.5 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: help | 14 | //config: help |
15 | //config: mountpoint checks if the directory is a mountpoint. | 15 | //config: mountpoint checks if the directory is a mountpoint. |
16 | 16 | ||
17 | //applet:IF_MOUNTPOINT(APPLET(mountpoint, BB_DIR_BIN, BB_SUID_DROP)) | 17 | //applet:IF_MOUNTPOINT(APPLET(mountpoint, BB_DIR_BIN, BB_SUID_DROP)) |
18 | 18 | ||
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c index 315e3420b..12c86b0ed 100644 --- a/util-linux/nsenter.c +++ b/util-linux/nsenter.c | |||
@@ -12,15 +12,15 @@ | |||
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: help | 14 | //config: help |
15 | //config: Run program with namespaces of other processes. | 15 | //config: Run program with namespaces of other processes. |
16 | //config: | 16 | //config: |
17 | //config:config FEATURE_NSENTER_LONG_OPTS | 17 | //config:config FEATURE_NSENTER_LONG_OPTS |
18 | //config: bool "Enable long options" | 18 | //config: bool "Enable long options" |
19 | //config: default y | 19 | //config: default y |
20 | //config: depends on NSENTER && LONG_OPTS | 20 | //config: depends on NSENTER && LONG_OPTS |
21 | //config: help | 21 | //config: help |
22 | //config: Support long options for the nsenter applet. This makes | 22 | //config: Support long options for the nsenter applet. This makes |
23 | //config: the busybox implementation more compatible with upstream. | 23 | //config: the busybox implementation more compatible with upstream. |
24 | 24 | ||
25 | //applet:IF_NSENTER(APPLET(nsenter, BB_DIR_USR_BIN, BB_SUID_DROP)) | 25 | //applet:IF_NSENTER(APPLET(nsenter, BB_DIR_USR_BIN, BB_SUID_DROP)) |
26 | 26 | ||
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index c21291ba0..331038057 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c | |||
@@ -13,13 +13,13 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: The pivot_root utility swaps the mount points for the root filesystem | 16 | //config: The pivot_root utility swaps the mount points for the root filesystem |
17 | //config: with some other mounted filesystem. This allows you to do all sorts | 17 | //config: with some other mounted filesystem. This allows you to do all sorts |
18 | //config: of wild and crazy things with your Linux system and is far more | 18 | //config: of wild and crazy things with your Linux system and is far more |
19 | //config: powerful than 'chroot'. | 19 | //config: powerful than 'chroot'. |
20 | //config: | 20 | //config: |
21 | //config: Note: This is for initrd in linux 2.4. Under initramfs (introduced | 21 | //config: Note: This is for initrd in linux 2.4. Under initramfs (introduced |
22 | //config: in linux 2.6) use switch_root instead. | 22 | //config: in linux 2.6) use switch_root instead. |
23 | 23 | ||
24 | //applet:IF_PIVOT_ROOT(APPLET(pivot_root, BB_DIR_SBIN, BB_SUID_DROP)) | 24 | //applet:IF_PIVOT_ROOT(APPLET(pivot_root, BB_DIR_SBIN, BB_SUID_DROP)) |
25 | 25 | ||
diff --git a/util-linux/rdate.c b/util-linux/rdate.c index d950b45b5..66b877e24 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c | |||
@@ -11,10 +11,10 @@ | |||
11 | //config: bool "rdate (6 kb)" | 11 | //config: bool "rdate (6 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: The rdate utility allows you to synchronize the date and time of your | 14 | //config: The rdate utility allows you to synchronize the date and time of your |
15 | //config: system clock with the date and time of a remote networked system using | 15 | //config: system clock with the date and time of a remote networked system using |
16 | //config: the RFC868 protocol, which is built into the inetd daemon on most | 16 | //config: the RFC868 protocol, which is built into the inetd daemon on most |
17 | //config: systems. | 17 | //config: systems. |
18 | 18 | ||
19 | //applet:IF_RDATE(APPLET(rdate, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 19 | //applet:IF_RDATE(APPLET(rdate, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/util-linux/rdev.c b/util-linux/rdev.c index 6ea9c2a8a..2ffe07688 100644 --- a/util-linux/rdev.c +++ b/util-linux/rdev.c | |||
@@ -12,7 +12,7 @@ | |||
12 | //config: bool "rdev (1.4 kb)" | 12 | //config: bool "rdev (1.4 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: help | 14 | //config: help |
15 | //config: Print the device node associated with the filesystem mounted at '/'. | 15 | //config: Print the device node associated with the filesystem mounted at '/'. |
16 | 16 | ||
17 | //applet:IF_RDEV(APPLET(rdev, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 17 | //applet:IF_RDEV(APPLET(rdev, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
18 | 18 | ||
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index b4cb5804f..b045657d8 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c | |||
@@ -36,7 +36,7 @@ | |||
36 | //config: default y | 36 | //config: default y |
37 | //config: #select PLATFORM_LINUX | 37 | //config: #select PLATFORM_LINUX |
38 | //config: help | 38 | //config: help |
39 | //config: This allows you to parse /proc/profile for basic profiling. | 39 | //config: This allows you to parse /proc/profile for basic profiling. |
40 | 40 | ||
41 | //applet:IF_READPROFILE(APPLET(readprofile, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 41 | //applet:IF_READPROFILE(APPLET(readprofile, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
42 | 42 | ||
diff --git a/util-linux/renice.c b/util-linux/renice.c index 751af4548..23cbca88d 100644 --- a/util-linux/renice.c +++ b/util-linux/renice.c | |||
@@ -22,8 +22,8 @@ | |||
22 | //config: bool "renice (3.8 kb)" | 22 | //config: bool "renice (3.8 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: Renice alters the scheduling priority of one or more running | 25 | //config: Renice alters the scheduling priority of one or more running |
26 | //config: processes. | 26 | //config: processes. |
27 | 27 | ||
28 | //applet:IF_RENICE(APPLET(renice, BB_DIR_USR_BIN, BB_SUID_DROP)) | 28 | //applet:IF_RENICE(APPLET(renice, BB_DIR_USR_BIN, BB_SUID_DROP)) |
29 | 29 | ||
diff --git a/util-linux/rev.c b/util-linux/rev.c index 3d07b2247..2bef9b9be 100644 --- a/util-linux/rev.c +++ b/util-linux/rev.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "rev (4.5 kb)" | 9 | //config: bool "rev (4.5 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: Reverse lines of a file or files. | 12 | //config: Reverse lines of a file or files. |
13 | 13 | ||
14 | //applet:IF_REV(APPLET(rev, BB_DIR_BIN, BB_SUID_DROP)) | 14 | //applet:IF_REV(APPLET(rev, BB_DIR_BIN, BB_SUID_DROP)) |
15 | 15 | ||
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index 01ab8ebb9..4c47c5369 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c | |||
@@ -27,7 +27,7 @@ | |||
27 | //config: default y | 27 | //config: default y |
28 | //config: select PLATFORM_LINUX | 28 | //config: select PLATFORM_LINUX |
29 | //config: help | 29 | //config: help |
30 | //config: Enter a system sleep state until specified wakeup time. | 30 | //config: Enter a system sleep state until specified wakeup time. |
31 | 31 | ||
32 | //applet:IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 32 | //applet:IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
33 | 33 | ||
diff --git a/util-linux/script.c b/util-linux/script.c index d82a92d1e..9eebb51a4 100644 --- a/util-linux/script.c +++ b/util-linux/script.c | |||
@@ -14,7 +14,7 @@ | |||
14 | //config: bool "script (8 kb)" | 14 | //config: bool "script (8 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: The script makes typescript of terminal session. | 17 | //config: The script makes typescript of terminal session. |
18 | 18 | ||
19 | //applet:IF_SCRIPT(APPLET(script, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_SCRIPT(APPLET(script, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/util-linux/scriptreplay.c b/util-linux/scriptreplay.c index d0050f26b..7e9850103 100644 --- a/util-linux/scriptreplay.c +++ b/util-linux/scriptreplay.c | |||
@@ -11,8 +11,8 @@ | |||
11 | //config: bool "scriptreplay (2.6 kb)" | 11 | //config: bool "scriptreplay (2.6 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: This program replays a typescript, using timing information | 14 | //config: This program replays a typescript, using timing information |
15 | //config: given by script -t. | 15 | //config: given by script -t. |
16 | 16 | ||
17 | //applet:IF_SCRIPTREPLAY(APPLET(scriptreplay, BB_DIR_BIN, BB_SUID_DROP)) | 17 | //applet:IF_SCRIPTREPLAY(APPLET(scriptreplay, BB_DIR_BIN, BB_SUID_DROP)) |
18 | 18 | ||
diff --git a/util-linux/setarch.c b/util-linux/setarch.c index 07de7f4db..d4b568832 100644 --- a/util-linux/setarch.c +++ b/util-linux/setarch.c | |||
@@ -11,24 +11,24 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: The linux32 utility is used to create a 32bit environment for the | 14 | //config: The linux32 utility is used to create a 32bit environment for the |
15 | //config: specified program (usually a shell). It only makes sense to have | 15 | //config: specified program (usually a shell). It only makes sense to have |
16 | //config: this util on a system that supports both 64bit and 32bit userland | 16 | //config: this util on a system that supports both 64bit and 32bit userland |
17 | //config: (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...). | 17 | //config: (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...). |
18 | //config: | 18 | //config: |
19 | //config:config LINUX32 | 19 | //config:config LINUX32 |
20 | //config: bool "linux32 (3.2 kb)" | 20 | //config: bool "linux32 (3.2 kb)" |
21 | //config: default y | 21 | //config: default y |
22 | //config: select PLATFORM_LINUX | 22 | //config: select PLATFORM_LINUX |
23 | //config: help | 23 | //config: help |
24 | //config: Alias to "setarch linux32". | 24 | //config: Alias to "setarch linux32". |
25 | //config: | 25 | //config: |
26 | //config:config LINUX64 | 26 | //config:config LINUX64 |
27 | //config: bool "linux64 (3.2 kb)" | 27 | //config: bool "linux64 (3.2 kb)" |
28 | //config: default y | 28 | //config: default y |
29 | //config: select PLATFORM_LINUX | 29 | //config: select PLATFORM_LINUX |
30 | //config: help | 30 | //config: help |
31 | //config: Alias to "setarch linux64". | 31 | //config: Alias to "setarch linux64". |
32 | 32 | ||
33 | //applet:IF_SETARCH(APPLET(setarch, BB_DIR_BIN, BB_SUID_DROP)) | 33 | //applet:IF_SETARCH(APPLET(setarch, BB_DIR_BIN, BB_SUID_DROP)) |
34 | // APPLET_ODDNAME:name main location suid_type help | 34 | // APPLET_ODDNAME:name main location suid_type help |
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c index 89181085a..0f85428ab 100644 --- a/util-linux/setpriv.c +++ b/util-linux/setpriv.c | |||
@@ -13,36 +13,36 @@ | |||
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: select LONG_OPTS | 14 | //config: select LONG_OPTS |
15 | //config: help | 15 | //config: help |
16 | //config: Run a program with different Linux privilege settings. | 16 | //config: Run a program with different Linux privilege settings. |
17 | //config: Requires kernel >= 3.5 | 17 | //config: Requires kernel >= 3.5 |
18 | //config: | 18 | //config: |
19 | //config:config FEATURE_SETPRIV_DUMP | 19 | //config:config FEATURE_SETPRIV_DUMP |
20 | //config: bool "Support dumping current privilege state" | 20 | //config: bool "Support dumping current privilege state" |
21 | //config: default y | 21 | //config: default y |
22 | //config: depends on SETPRIV | 22 | //config: depends on SETPRIV |
23 | //config: help | 23 | //config: help |
24 | //config: Enables the "--dump" switch to print out the current privilege | 24 | //config: Enables the "--dump" switch to print out the current privilege |
25 | //config: state. This is helpful for diagnosing problems. | 25 | //config: state. This is helpful for diagnosing problems. |
26 | //config: | 26 | //config: |
27 | //config:config FEATURE_SETPRIV_CAPABILITIES | 27 | //config:config FEATURE_SETPRIV_CAPABILITIES |
28 | //config: bool "Support capabilities" | 28 | //config: bool "Support capabilities" |
29 | //config: default y | 29 | //config: default y |
30 | //config: depends on SETPRIV | 30 | //config: depends on SETPRIV |
31 | //config: help | 31 | //config: help |
32 | //config: Capabilities can be used to grant processes additional rights | 32 | //config: Capabilities can be used to grant processes additional rights |
33 | //config: without the necessity to always execute as the root user. | 33 | //config: without the necessity to always execute as the root user. |
34 | //config: Enabling this option enables "--dump" to show information on | 34 | //config: Enabling this option enables "--dump" to show information on |
35 | //config: capabilities. | 35 | //config: capabilities. |
36 | //config: | 36 | //config: |
37 | //config:config FEATURE_SETPRIV_CAPABILITY_NAMES | 37 | //config:config FEATURE_SETPRIV_CAPABILITY_NAMES |
38 | //config: bool "Support capability names" | 38 | //config: bool "Support capability names" |
39 | //config: default y | 39 | //config: default y |
40 | //config: depends on SETPRIV && FEATURE_SETPRIV_CAPABILITIES | 40 | //config: depends on SETPRIV && FEATURE_SETPRIV_CAPABILITIES |
41 | //config: help | 41 | //config: help |
42 | //config: Capabilities can be either referenced via a human-readble name, | 42 | //config: Capabilities can be either referenced via a human-readble name, |
43 | //config: e.g. "net_admin", or using their index, e.g. "cap_12". Enabling | 43 | //config: e.g. "net_admin", or using their index, e.g. "cap_12". Enabling |
44 | //config: this option allows using the human-readable names in addition to | 44 | //config: this option allows using the human-readable names in addition to |
45 | //config: the index-based names. | 45 | //config: the index-based names. |
46 | 46 | ||
47 | //applet:IF_SETPRIV(APPLET(setpriv, BB_DIR_BIN, BB_SUID_DROP)) | 47 | //applet:IF_SETPRIV(APPLET(setpriv, BB_DIR_BIN, BB_SUID_DROP)) |
48 | 48 | ||
diff --git a/util-linux/setsid.c b/util-linux/setsid.c index 15a7c05e9..60cab2fcf 100644 --- a/util-linux/setsid.c +++ b/util-linux/setsid.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //config: bool "setsid (3.9 kb)" | 17 | //config: bool "setsid (3.9 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: help | 19 | //config: help |
20 | //config: setsid runs a program in a new session | 20 | //config: setsid runs a program in a new session |
21 | 21 | ||
22 | //applet:IF_SETSID(APPLET(setsid, BB_DIR_USR_BIN, BB_SUID_DROP)) | 22 | //applet:IF_SETSID(APPLET(setsid, BB_DIR_USR_BIN, BB_SUID_DROP)) |
23 | 23 | ||
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index dc8dd9df6..bda0687d6 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c | |||
@@ -11,27 +11,27 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
13 | //config: help | 13 | //config: help |
14 | //config: Once you have created some swap space using 'mkswap', you also need | 14 | //config: Once you have created some swap space using 'mkswap', you also need |
15 | //config: to enable your swap space with the 'swapon' utility. The 'swapoff' | 15 | //config: to enable your swap space with the 'swapon' utility. The 'swapoff' |
16 | //config: utility is used, typically at system shutdown, to disable any swap | 16 | //config: utility is used, typically at system shutdown, to disable any swap |
17 | //config: space. If you are not using any swap space, you can leave this | 17 | //config: space. If you are not using any swap space, you can leave this |
18 | //config: option disabled. | 18 | //config: option disabled. |
19 | //config: | 19 | //config: |
20 | //config:config FEATURE_SWAPON_DISCARD | 20 | //config:config FEATURE_SWAPON_DISCARD |
21 | //config: bool "Support discard option -d" | 21 | //config: bool "Support discard option -d" |
22 | //config: default y | 22 | //config: default y |
23 | //config: depends on SWAPON | 23 | //config: depends on SWAPON |
24 | //config: help | 24 | //config: help |
25 | //config: Enable support for discarding swap area blocks at swapon and/or as | 25 | //config: Enable support for discarding swap area blocks at swapon and/or as |
26 | //config: the kernel frees them. This option enables both the -d option on | 26 | //config: the kernel frees them. This option enables both the -d option on |
27 | //config: 'swapon' and the 'discard' option for swap entries in /etc/fstab. | 27 | //config: 'swapon' and the 'discard' option for swap entries in /etc/fstab. |
28 | //config: | 28 | //config: |
29 | //config:config FEATURE_SWAPON_PRI | 29 | //config:config FEATURE_SWAPON_PRI |
30 | //config: bool "Support priority option -p" | 30 | //config: bool "Support priority option -p" |
31 | //config: default y | 31 | //config: default y |
32 | //config: depends on SWAPON | 32 | //config: depends on SWAPON |
33 | //config: help | 33 | //config: help |
34 | //config: Enable support for setting swap device priority in swapon. | 34 | //config: Enable support for setting swap device priority in swapon. |
35 | //config: | 35 | //config: |
36 | //config:config SWAPOFF | 36 | //config:config SWAPOFF |
37 | //config: bool "swapoff (4.3 kb)" | 37 | //config: bool "swapoff (4.3 kb)" |
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 92e385b98..32708934e 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
@@ -10,20 +10,20 @@ | |||
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | 11 | //config: select PLATFORM_LINUX |
12 | //config: help | 12 | //config: help |
13 | //config: The switch_root utility is used from initramfs to select a new | 13 | //config: The switch_root utility is used from initramfs to select a new |
14 | //config: root device. Under initramfs, you have to use this instead of | 14 | //config: root device. Under initramfs, you have to use this instead of |
15 | //config: pivot_root. (Stop reading here if you don't care why.) | 15 | //config: pivot_root. (Stop reading here if you don't care why.) |
16 | //config: | 16 | //config: |
17 | //config: Booting with initramfs extracts a gzipped cpio archive into rootfs | 17 | //config: Booting with initramfs extracts a gzipped cpio archive into rootfs |
18 | //config: (which is a variant of ramfs/tmpfs). Because rootfs can't be moved | 18 | //config: (which is a variant of ramfs/tmpfs). Because rootfs can't be moved |
19 | //config: or unmounted*, pivot_root will not work from initramfs. Instead, | 19 | //config: or unmounted*, pivot_root will not work from initramfs. Instead, |
20 | //config: switch_root deletes everything out of rootfs (including itself), | 20 | //config: switch_root deletes everything out of rootfs (including itself), |
21 | //config: does a mount --move that overmounts rootfs with the new root, and | 21 | //config: does a mount --move that overmounts rootfs with the new root, and |
22 | //config: then execs the specified init program. | 22 | //config: then execs the specified init program. |
23 | //config: | 23 | //config: |
24 | //config: * Because the Linux kernel uses rootfs internally as the starting | 24 | //config: * Because the Linux kernel uses rootfs internally as the starting |
25 | //config: and ending point for searching through the kernel's doubly linked | 25 | //config: and ending point for searching through the kernel's doubly linked |
26 | //config: list of active mount points. That's why. | 26 | //config: list of active mount points. That's why. |
27 | 27 | ||
28 | //applet:IF_SWITCH_ROOT(APPLET(switch_root, BB_DIR_SBIN, BB_SUID_DROP)) | 28 | //applet:IF_SWITCH_ROOT(APPLET(switch_root, BB_DIR_SBIN, BB_SUID_DROP)) |
29 | 29 | ||
diff --git a/util-linux/taskset.c b/util-linux/taskset.c index 581b0d144..9957b1a71 100644 --- a/util-linux/taskset.c +++ b/util-linux/taskset.c | |||
@@ -10,17 +10,17 @@ | |||
10 | //config: bool "taskset (4.1 kb)" | 10 | //config: bool "taskset (4.1 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Retrieve or set a processes's CPU affinity. | 13 | //config: Retrieve or set a processes's CPU affinity. |
14 | //config: This requires sched_{g,s}etaffinity support in your libc. | 14 | //config: This requires sched_{g,s}etaffinity support in your libc. |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_TASKSET_FANCY | 16 | //config:config FEATURE_TASKSET_FANCY |
17 | //config: bool "Fancy output" | 17 | //config: bool "Fancy output" |
18 | //config: default y | 18 | //config: default y |
19 | //config: depends on TASKSET | 19 | //config: depends on TASKSET |
20 | //config: help | 20 | //config: help |
21 | //config: Needed for machines with more than 32-64 CPUs: | 21 | //config: Needed for machines with more than 32-64 CPUs: |
22 | //config: affinity parameter 0xHHHHHHHHHHHHHHHHHHHH can be arbitrarily long | 22 | //config: affinity parameter 0xHHHHHHHHHHHHHHHHHHHH can be arbitrarily long |
23 | //config: in this case. Otherwise, it is limited to sizeof(long). | 23 | //config: in this case. Otherwise, it is limited to sizeof(long). |
24 | 24 | ||
25 | //applet:IF_TASKSET(APPLET(taskset, BB_DIR_USR_BIN, BB_SUID_DROP)) | 25 | //applet:IF_TASKSET(APPLET(taskset, BB_DIR_USR_BIN, BB_SUID_DROP)) |
26 | //kbuild:lib-$(CONFIG_TASKSET) += taskset.o | 26 | //kbuild:lib-$(CONFIG_TASKSET) += taskset.o |
diff --git a/util-linux/uevent.c b/util-linux/uevent.c index cef93adf6..252e8fb64 100644 --- a/util-linux/uevent.c +++ b/util-linux/uevent.c | |||
@@ -8,8 +8,8 @@ | |||
8 | //config: default y | 8 | //config: default y |
9 | //config: select PLATFORM_LINUX | 9 | //config: select PLATFORM_LINUX |
10 | //config: help | 10 | //config: help |
11 | //config: uevent is a netlink listener for kernel uevent notifications | 11 | //config: uevent is a netlink listener for kernel uevent notifications |
12 | //config: sent via netlink. It is usually used for dynamic device creation. | 12 | //config: sent via netlink. It is usually used for dynamic device creation. |
13 | 13 | ||
14 | //applet:IF_UEVENT(APPLET(uevent, BB_DIR_SBIN, BB_SUID_DROP)) | 14 | //applet:IF_UEVENT(APPLET(uevent, BB_DIR_SBIN, BB_SUID_DROP)) |
15 | 15 | ||
diff --git a/util-linux/umount.c b/util-linux/umount.c index f970f9f84..31bf671c1 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -12,17 +12,17 @@ | |||
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: help | 14 | //config: help |
15 | //config: When you want to remove a mounted filesystem from its current mount | 15 | //config: When you want to remove a mounted filesystem from its current mount |
16 | //config: point, for example when you are shutting down the system, the | 16 | //config: point, for example when you are shutting down the system, the |
17 | //config: 'umount' utility is the tool to use. If you enabled the 'mount' | 17 | //config: 'umount' utility is the tool to use. If you enabled the 'mount' |
18 | //config: utility, you almost certainly also want to enable 'umount'. | 18 | //config: utility, you almost certainly also want to enable 'umount'. |
19 | //config: | 19 | //config: |
20 | //config:config FEATURE_UMOUNT_ALL | 20 | //config:config FEATURE_UMOUNT_ALL |
21 | //config: bool "Support option -a" | 21 | //config: bool "Support option -a" |
22 | //config: default y | 22 | //config: default y |
23 | //config: depends on UMOUNT | 23 | //config: depends on UMOUNT |
24 | //config: help | 24 | //config: help |
25 | //config: Support -a option to unmount all currently mounted filesystems. | 25 | //config: Support -a option to unmount all currently mounted filesystems. |
26 | 26 | ||
27 | //applet:IF_UMOUNT(APPLET(umount, BB_DIR_BIN, BB_SUID_DROP)) | 27 | //applet:IF_UMOUNT(APPLET(umount, BB_DIR_BIN, BB_SUID_DROP)) |
28 | 28 | ||
diff --git a/util-linux/unshare.c b/util-linux/unshare.c index 892d3b6c7..e7b95c72b 100644 --- a/util-linux/unshare.c +++ b/util-linux/unshare.c | |||
@@ -13,7 +13,7 @@ | |||
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: select LONG_OPTS | 14 | //config: select LONG_OPTS |
15 | //config: help | 15 | //config: help |
16 | //config: Run program with some namespaces unshared from parent. | 16 | //config: Run program with some namespaces unshared from parent. |
17 | 17 | ||
18 | // needs LONG_OPTS: it is awkward to exclude code which handles --propagation | 18 | // needs LONG_OPTS: it is awkward to exclude code which handles --propagation |
19 | // and --setgroups based on LONG_OPTS, so instead applet requires LONG_OPTS. | 19 | // and --setgroups based on LONG_OPTS, so instead applet requires LONG_OPTS. |
diff --git a/util-linux/volume_id/exfat.c b/util-linux/volume_id/exfat.c index 7ed13a70e..14bf9d691 100644 --- a/util-linux/volume_id/exfat.c +++ b/util-linux/volume_id/exfat.c | |||
@@ -25,9 +25,9 @@ | |||
25 | //config: default y | 25 | //config: default y |
26 | //config: depends on VOLUMEID | 26 | //config: depends on VOLUMEID |
27 | //config: help | 27 | //config: help |
28 | //config: exFAT (extended FAT) is a proprietary file system designed especially | 28 | //config: exFAT (extended FAT) is a proprietary file system designed especially |
29 | //config: for flash drives. It has many features from NTFS, but with less | 29 | //config: for flash drives. It has many features from NTFS, but with less |
30 | //config: overhead. exFAT is used on most SDXC cards for consumer electronics. | 30 | //config: overhead. exFAT is used on most SDXC cards for consumer electronics. |
31 | 31 | ||
32 | #include "volume_id_internal.h" | 32 | #include "volume_id_internal.h" |
33 | 33 | ||
diff --git a/util-linux/volume_id/f2fs.c b/util-linux/volume_id/f2fs.c index 1d3bdae36..3027f178e 100644 --- a/util-linux/volume_id/f2fs.c +++ b/util-linux/volume_id/f2fs.c | |||
@@ -13,10 +13,10 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: depends on VOLUMEID | 14 | //config: depends on VOLUMEID |
15 | //config: help | 15 | //config: help |
16 | //config: F2FS (aka Flash-Friendly File System) is a log-structured file system, | 16 | //config: F2FS (aka Flash-Friendly File System) is a log-structured file system, |
17 | //config: which is adapted to newer forms of storage. F2FS also remedies some | 17 | //config: which is adapted to newer forms of storage. F2FS also remedies some |
18 | //config: known issues of the older log structured file systems, such as high | 18 | //config: known issues of the older log structured file systems, such as high |
19 | //config: cleaning overhead. | 19 | //config: cleaning overhead. |
20 | 20 | ||
21 | #include "volume_id_internal.h" | 21 | #include "volume_id_internal.h" |
22 | 22 | ||
diff --git a/util-linux/volume_id/nilfs.c b/util-linux/volume_id/nilfs.c index ffe919f36..9d6c57fba 100644 --- a/util-linux/volume_id/nilfs.c +++ b/util-linux/volume_id/nilfs.c | |||
@@ -26,16 +26,16 @@ | |||
26 | //config: default y | 26 | //config: default y |
27 | //config: depends on VOLUMEID | 27 | //config: depends on VOLUMEID |
28 | //config: help | 28 | //config: help |
29 | //config: NILFS is a New Implementation of a Log-Structured File System (LFS) | 29 | //config: NILFS is a New Implementation of a Log-Structured File System (LFS) |
30 | //config: that supports continuous snapshots. This provides features like | 30 | //config: that supports continuous snapshots. This provides features like |
31 | //config: versioning of the entire filesystem, restoration of files that | 31 | //config: versioning of the entire filesystem, restoration of files that |
32 | //config: were deleted a few minutes ago. NILFS keeps consistency like | 32 | //config: were deleted a few minutes ago. NILFS keeps consistency like |
33 | //config: conventional LFS, so it provides quick recovery after system crashes. | 33 | //config: conventional LFS, so it provides quick recovery after system crashes. |
34 | //config: | 34 | //config: |
35 | //config: The possible use of NILFS includes versioning, tamper detection, | 35 | //config: The possible use of NILFS includes versioning, tamper detection, |
36 | //config: SOX compliance logging, and so forth. It can serve as an alternative | 36 | //config: SOX compliance logging, and so forth. It can serve as an alternative |
37 | //config: filesystem for Linux desktop environment, or as a basis of advanced | 37 | //config: filesystem for Linux desktop environment, or as a basis of advanced |
38 | //config: storage appliances. | 38 | //config: storage appliances. |
39 | 39 | ||
40 | #include "volume_id_internal.h" | 40 | #include "volume_id_internal.h" |
41 | 41 | ||
diff --git a/util-linux/volume_id/squashfs.c b/util-linux/volume_id/squashfs.c index 6bba199cd..e3ffce35e 100644 --- a/util-linux/volume_id/squashfs.c +++ b/util-linux/volume_id/squashfs.c | |||
@@ -13,10 +13,10 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: depends on VOLUMEID && FEATURE_BLKID_TYPE | 14 | //config: depends on VOLUMEID && FEATURE_BLKID_TYPE |
15 | //config: help | 15 | //config: help |
16 | //config: Squashfs is a compressed read-only filesystem for Linux. Squashfs is | 16 | //config: Squashfs is a compressed read-only filesystem for Linux. Squashfs is |
17 | //config: intended for general read-only filesystem use and in constrained block | 17 | //config: intended for general read-only filesystem use and in constrained block |
18 | //config: device/memory systems (e.g. embedded systems) where low overhead is | 18 | //config: device/memory systems (e.g. embedded systems) where low overhead is |
19 | //config: needed. | 19 | //config: needed. |
20 | 20 | ||
21 | #include "volume_id_internal.h" | 21 | #include "volume_id_internal.h" |
22 | 22 | ||
diff --git a/util-linux/volume_id/ubifs.c b/util-linux/volume_id/ubifs.c index 99b0aa830..7512b84b0 100644 --- a/util-linux/volume_id/ubifs.c +++ b/util-linux/volume_id/ubifs.c | |||
@@ -13,8 +13,8 @@ | |||
13 | //config: default y | 13 | //config: default y |
14 | //config: depends on VOLUMEID | 14 | //config: depends on VOLUMEID |
15 | //config: help | 15 | //config: help |
16 | //config: UBIFS (Unsorted Block Image File System) is a file | 16 | //config: UBIFS (Unsorted Block Image File System) is a file |
17 | //config: system for use with raw flash memory media. | 17 | //config: system for use with raw flash memory media. |
18 | 18 | ||
19 | #include "volume_id_internal.h" | 19 | #include "volume_id_internal.h" |
20 | 20 | ||
diff --git a/util-linux/wall.c b/util-linux/wall.c index 4550f0b68..e214d8c3f 100644 --- a/util-linux/wall.c +++ b/util-linux/wall.c | |||
@@ -11,7 +11,7 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: depends on FEATURE_UTMP | 12 | //config: depends on FEATURE_UTMP |
13 | //config: help | 13 | //config: help |
14 | //config: Write a message to all users that are logged in. | 14 | //config: Write a message to all users that are logged in. |
15 | 15 | ||
16 | /* Needs to be run by root or be suid root - needs to write to /dev/TTY: */ | 16 | /* Needs to be run by root or be suid root - needs to write to /dev/TTY: */ |
17 | //applet:IF_WALL(APPLET(wall, BB_DIR_USR_BIN, BB_SUID_REQUIRE)) | 17 | //applet:IF_WALL(APPLET(wall, BB_DIR_USR_BIN, BB_SUID_REQUIRE)) |