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/losetup.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/losetup.c')
-rw-r--r-- | util-linux/losetup.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index d450b5a78..4424d9cbb 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c | |||
@@ -6,6 +6,18 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config LOSETUP | ||
10 | //config: bool "losetup" | ||
11 | //config: default y | ||
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | ||
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 | ||
16 | //config: version does not currently support enabling data encryption. | ||
17 | |||
18 | //kbuild:lib-$(CONFIG_LOSETUP) += losetup.o | ||
19 | |||
20 | //applet:IF_LOSETUP(APPLET(losetup, BB_DIR_SBIN, BB_SUID_DROP)) | ||
9 | 21 | ||
10 | //usage:#define losetup_trivial_usage | 22 | //usage:#define losetup_trivial_usage |
11 | //usage: "[-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices\n" | 23 | //usage: "[-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices\n" |