Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-18 23:40:23 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-18 23:40:23 +0300
commit000eda41c084bae95d9e40a570cbdaa5ffd3d22e (patch)
tree848b2b10ddd0277664e27c777ea36a7f5b317929 /e2fsprogs/fsck.c
parentd34f300db6d7a726759f4d820a61f19eacf11288 (diff)
e2fsprogs/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r--e2fsprogs/fsck.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index d2d312e5c..adaf0c538 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -33,6 +33,17 @@
* spawns actual fsck.something for each filesystem to check.
* It doesn't guess filesystem types from on-disk format.
*/
+//config:config FSCK
+//config: bool "fsck"
+//config: default y
+//config: help
+//config: fsck is used to check and optionally repair one or more filesystems.
+//config: In actuality, fsck is simply a front-end for the various file system
+//config: checkers (fsck.fstype) available under Linux.
+
+//applet:IF_FSCK(APPLET(fsck, BB_DIR_SBIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_FSCK) += fsck.o
//usage:#define fsck_trivial_usage
//usage: "[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..."