mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
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);
|
||||
#ifdef KERBEROS
|
||||
#define optstring "0123456789aB:b:cd:f:h:kns:T:uWw"
|
||||
#define optstring "0123456789aB:b:cd:f:h:kns:T:uWwD:"
|
||||
#else
|
||||
#define optstring "0123456789aB:b:cd:f:h:ns:T:uWw"
|
||||
#define optstring "0123456789aB:b:cd:f:h:ns:T:uWwD:"
|
||||
#endif
|
||||
while ((ch = getopt(argc, argv, optstring)) != -1)
|
||||
#undef optstring
|
||||
@ -164,6 +164,10 @@ main(argc, argv)
|
||||
tape = optarg;
|
||||
break;
|
||||
|
||||
case 'D':
|
||||
dumpdates = optarg;
|
||||
break;
|
||||
|
||||
case 'h':
|
||||
honorlevel = numarg("honor level", 0L, 10L);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user