diff options
author | marcel <marcel@FreeBSD.org> | 2014-03-27 23:44:16 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-03-27 23:44:16 +0000 |
commit | b7c3be9e454fa8deeea982b821a4467c55863d8c (patch) | |
tree | f2abb42bcd15997531e61507e32b45328cacb69b | |
parent | c4d8b579ba945fbd284fb702f8d09eeadf65dabf (diff) | |
download | FreeBSD-src-b7c3be9e454fa8deeea982b821a4467c55863d8c.zip FreeBSD-src-b7c3be9e454fa8deeea982b821a4467c55863d8c.tar.gz |
Remove the -z flag. Let's just write a sparse file whenever we can.
-rw-r--r-- | mkimg.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -90,7 +90,6 @@ usage(const char *why) fprintf(stderr, "\t-P <num>\t- physical sector size\n"); fprintf(stderr, "\t-S <num>\t- logical sector size\n"); fprintf(stderr, "\t-T <num>\t- number of tracks to simulate\n"); - fprintf(stderr, "\t-z\t\t- write a sparse file\n"); fprintf(stderr, " schemes:\n"); SET_FOREACH(iter, schemes) { @@ -334,7 +333,7 @@ main(int argc, char *argv[]) { int c, error; - while ((c = getopt(argc, argv, "b:o:p:s:vzH:P:S:T:")) != -1) { + while ((c = getopt(argc, argv, "b:o:p:s:vH:P:S:T:")) != -1) { switch (c) { case 'b': /* BOOT CODE */ if (bcfd != -1) @@ -366,8 +365,6 @@ main(int argc, char *argv[]) case 'v': verbose++; break; - case 'z': /* SPARSE OUTPUT */ - break; case 'H': /* GEOMETRY: HEADS */ error = parse_number(&nheads, 1, 255, optarg); if (error) |