Add a -D option to dump, allowing the path for the /etc/dumpdates file to be
changed, so independant entities backing up the same thing to different media can be made not to trip over each other. MFC after: 3 days
This commit is contained in:
parent
89349143ab
commit
3860f7810d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79427
@ -123,9 +123,9 @@ main(argc, argv)
|
|||||||
|
|
||||||
obsolete(&argc, &argv);
|
obsolete(&argc, &argv);
|
||||||
#ifdef KERBEROS
|
#ifdef KERBEROS
|
||||||
#define optstring "0123456789aB:b:cd:f:h:kns:T:uWw"
|
#define optstring "0123456789aB:b:cd:f:h:kns:T:uWwD:"
|
||||||
#else
|
#else
|
||||||
#define optstring "0123456789aB:b:cd:f:h:ns:T:uWw"
|
#define optstring "0123456789aB:b:cd:f:h:ns:T:uWwD:"
|
||||||
#endif
|
#endif
|
||||||
while ((ch = getopt(argc, argv, optstring)) != -1)
|
while ((ch = getopt(argc, argv, optstring)) != -1)
|
||||||
#undef optstring
|
#undef optstring
|
||||||
@ -164,6 +164,10 @@ main(argc, argv)
|
|||||||
tape = optarg;
|
tape = optarg;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'D':
|
||||||
|
dumpdates = optarg;
|
||||||
|
break;
|
||||||
|
|
||||||
case 'h':
|
case 'h':
|
||||||
honorlevel = numarg("honor level", 0L, 10L);
|
honorlevel = numarg("honor level", 0L, 10L);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user