+ case 't': tflag = 1;
+ volumesize = atol(optarg);
+ break;
+
+ case 'q': qflag = 1;
+ switch (atoi(optarg))
+ {
+ case 0: pagesize = 1024; /* 1K */
+ break;
+ case 1: pagesize = 2048; /* 2K */
+ break;
+ case 2: pagesize = 4096; /* 4K */
+ break;
+ case 3: pagesize = 8192; /* 8K */
+ break;
+ case 4: pagesize = 16384; /* 16K */
+ break;
+ case 5: pagesize = 32768; /* 32K */
+ break;
+ case 6: pagesize = 65536; /* 64K */
+ break;
+ case 7: pagesize = 131072; /* 128K */
+ break;
+ case 8: pagesize = 262144; /* 256K */
+ break;
+ case 9: pagesize = 524288; /* 512K */
+ break;
+ default: pagesize = 0; /* error */
+ }
+ break;
+
+ default: fprintf(stderr, "Usage: %s [-cdzs][-q blksize][-t volsize][-m modeldumpfile] source target\n", argv[0]);