diff options
Diffstat (limited to 'makedevs.c')
-rw-r--r-- | makedevs.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/makedevs.c b/makedevs.c index 5072095b5..99dbc0bd5 100644 --- a/makedevs.c +++ b/makedevs.c | |||
@@ -16,23 +16,6 @@ | |||
16 | #include <sys/types.h> | 16 | #include <sys/types.h> |
17 | #include <sys/stat.h> | 17 | #include <sys/stat.h> |
18 | 18 | ||
19 | static const char makedevs_usage[] = | ||
20 | "makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]\n" | ||
21 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
22 | "\nCreates a range of block or character special files\n\n" | ||
23 | "TYPEs include:\n" | ||
24 | "\tb:\tMake a block (buffered) device.\n" | ||
25 | "\tc or u:\tMake a character (un-buffered) device.\n" | ||
26 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes.\n\n" | ||
27 | "FIRST specifies the number appended to NAME to create the first device.\n" | ||
28 | "LAST specifies the number of the last item that should be created.\n" | ||
29 | "If 's' is the last argument, the base device is created as well.\n\n" | ||
30 | "For example:\n" | ||
31 | "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" | ||
32 | "\tmakedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8\n" | ||
33 | #endif | ||
34 | ; | ||
35 | |||
36 | int makedevs_main(int argc, char **argv) | 19 | int makedevs_main(int argc, char **argv) |
37 | { | 20 | { |
38 | 21 | ||