aboutsummaryrefslogtreecommitdiff
path: root/mkswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkswap.c')
-rw-r--r--mkswap.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/mkswap.c b/mkswap.c
index 5a33945c8..eacd8816c 100644
--- a/mkswap.c
+++ b/mkswap.c
@@ -47,20 +47,6 @@
47#include <asm/page.h> /* for PAGE_SIZE and PAGE_SHIFT */ 47#include <asm/page.h> /* for PAGE_SIZE and PAGE_SHIFT */
48 /* we also get PAGE_SIZE via getpagesize() */ 48 /* we also get PAGE_SIZE via getpagesize() */
49 49
50
51static const char mkswap_usage[] =
52 "mkswap [-c] [-v0|-v1] device [block-count]\n"
53#ifndef BB_FEATURE_TRIVIAL_HELP
54 "\nPrepare a disk partition to be used as a swap partition.\n\n"
55 "Options:\n" "\t-c\t\tCheck for read-ability.\n"
56 "\t-v0\t\tMake version 0 swap [max 128 Megs].\n"
57 "\t-v1\t\tMake version 1 swap [big!] (default for kernels > 2.1.117).\n"
58
59 "\tblock-count\tNumber of block to use (default is entire partition).\n"
60#endif
61 ;
62
63
64#ifndef _IO 50#ifndef _IO
65/* pre-1.3.45 */ 51/* pre-1.3.45 */
66#define BLKGETSIZE 0x1260 52#define BLKGETSIZE 0x1260