summaryrefslogtreecommitdiff
path: root/makedevs.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /makedevs.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'makedevs.c')
-rw-r--r--makedevs.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/makedevs.c b/makedevs.c
index 5072095..99dbc0b 100644
--- a/makedevs.c
+++ b/makedevs.c
@@ -16,23 +16,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-static const char makedevs_usage[] =
- "makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nCreates a range of block or character special files\n\n"
- "TYPEs include:\n"
- "\tb:\tMake a block (buffered) device.\n"
- "\tc or u:\tMake a character (un-buffered) device.\n"
- "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes.\n\n"
- "FIRST specifies the number appended to NAME to create the first device.\n"
- "LAST specifies the number of the last item that should be created.\n"
- "If 's' is the last argument, the base device is created as well.\n\n"
- "For example:\n"
- "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n"
- "\tmakedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8\n"
-#endif
- ;
-
int makedevs_main(int argc, char **argv)
{