diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 11:46:32 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 11:46:32 +0100 |
commit | dd898c9f3388fca1d7339a45150fbb7406de0971 (patch) | |
tree | f9f498c9d86c26bd208acc687c5f29b451927ce3 /util-linux/findfs.c | |
parent | e5dd71f94f8691c41382b89de35088695cca34b9 (diff) | |
download | busybox-w32-dd898c9f3388fca1d7339a45150fbb7406de0971.tar.gz busybox-w32-dd898c9f3388fca1d7339a45150fbb7406de0971.tar.bz2 busybox-w32-dd898c9f3388fca1d7339a45150fbb7406de0971.zip |
Convert all util-linux/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/findfs.c')
-rw-r--r-- | util-linux/findfs.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/util-linux/findfs.c b/util-linux/findfs.c index 07734f359..daa46b039 100644 --- a/util-linux/findfs.c +++ b/util-linux/findfs.c | |||
@@ -7,6 +7,20 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config FINDFS | ||
11 | //config: bool "findfs" | ||
12 | //config: default y | ||
13 | //config: select PLATFORM_LINUX | ||
14 | //config: select VOLUMEID | ||
15 | //config: help | ||
16 | //config: Prints the name of a filesystem with given label or UUID. | ||
17 | //config: WARNING: | ||
18 | //config: With all submodules selected, it will add ~8k to busybox. | ||
19 | |||
20 | /* Benefits from suid root: better access to /dev/BLOCKDEVs: */ | ||
21 | //applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) | ||
22 | |||
23 | //kbuild:lib-$(CONFIG_FINDFS) += findfs.o | ||
10 | 24 | ||
11 | //usage:#define findfs_trivial_usage | 25 | //usage:#define findfs_trivial_usage |
12 | //usage: "LABEL=label or UUID=uuid" | 26 | //usage: "LABEL=label or UUID=uuid" |