Lines 74-79
Link Here
|
74 |
#include "pathnames.h" |
74 |
#include "pathnames.h" |
75 |
|
75 |
|
76 |
int notify = 0; /* notify operator flag */ |
76 |
int notify = 0; /* notify operator flag */ |
|
|
77 |
int skip_vol_query = 0; /* skip operator query on volume change */ |
77 |
int snapdump = 0; /* dumping live filesystem, so use snapshot */ |
78 |
int snapdump = 0; /* dumping live filesystem, so use snapshot */ |
78 |
int blockswritten = 0; /* number of blocks written on current tape */ |
79 |
int blockswritten = 0; /* number of blocks written on current tape */ |
79 |
int tapeno = 0; /* current tape number */ |
80 |
int tapeno = 0; /* current tape number */ |
Lines 122-128
Link Here
|
122 |
|
123 |
|
123 |
obsolete(&argc, &argv); |
124 |
obsolete(&argc, &argv); |
124 |
while ((ch = getopt(argc, argv, |
125 |
while ((ch = getopt(argc, argv, |
125 |
"0123456789aB:b:C:cD:d:f:h:LnP:RrSs:T:uWw")) != -1) |
126 |
"0123456789aB:b:C:cD:d:f:h:LnP:RrSs:T:uWwy")) != -1) |
126 |
switch (ch) { |
127 |
switch (ch) { |
127 |
/* dump level */ |
128 |
/* dump level */ |
128 |
case '0': case '1': case '2': case '3': case '4': |
129 |
case '0': case '1': case '2': case '3': case '4': |
Lines 221-226
Link Here
|
221 |
uflag = 1; |
222 |
uflag = 1; |
222 |
break; |
223 |
break; |
223 |
|
224 |
|
|
|
225 |
case 'y': |
226 |
skip_vol_query = 1; |
227 |
break; |
228 |
|
224 |
case 'W': /* what to do */ |
229 |
case 'W': /* what to do */ |
225 |
case 'w': |
230 |
case 'w': |
226 |
lastdump(ch); |
231 |
lastdump(ch); |
Lines 606-612
Link Here
|
606 |
usage(void) |
611 |
usage(void) |
607 |
{ |
612 |
{ |
608 |
fprintf(stderr, |
613 |
fprintf(stderr, |
609 |
"usage: dump [-0123456789acLnSu] [-B records] [-b blocksize] [-C cachesize]\n" |
614 |
"usage: dump [-0123456789acLnSuy] [-B records] [-b blocksize] [-C cachesize]\n" |
610 |
" [-D dumpdates] [-d density] [-f file | -P pipecommand] [-h level]\n" |
615 |
" [-D dumpdates] [-d density] [-f file | -P pipecommand] [-h level]\n" |
611 |
" [-s feet] [-T date] filesystem\n" |
616 |
" [-s feet] [-T date] filesystem\n" |
612 |
" dump -W | -w\n"); |
617 |
" dump -W | -w\n"); |