svn commit: r263850 - user/marcel/mkimg
Marcel Moolenaar
marcel at FreeBSD.org
Thu Mar 27 23:44:17 UTC 2014
Author: marcel
Date: Thu Mar 27 23:44:16 2014
New Revision: 263850
URL: http://svnweb.freebsd.org/changeset/base/263850
Log:
Remove the -z flag. Let's just write a sparse file whenever we can.
Modified:
user/marcel/mkimg/mkimg.c
Modified: user/marcel/mkimg/mkimg.c
==============================================================================
--- user/marcel/mkimg/mkimg.c Thu Mar 27 23:16:18 2014 (r263849)
+++ user/marcel/mkimg/mkimg.c Thu Mar 27 23:44:16 2014 (r263850)
@@ -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)
More information about the svn-src-user
mailing list