summaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-18 22:40:23 +0200
committerDenys Vlasenko2015-10-18 22:40:23 +0200
commit000eda41c084bae95d9e40a570cbdaa5ffd3d22e (patch)
tree848b2b10ddd0277664e27c777ea36a7f5b317929 /e2fsprogs/fsck.c
parentd34f300db6d7a726759f4d820a61f19eacf11288 (diff)
downloadbusybox-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.zip
busybox-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.tar.gz
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 d2d312e..adaf0c5 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]..."