Removed all vestiges of KerberosIV.

This commit is contained in:
ru 2003-05-01 21:18:36 +00:00
parent 014912c9fa
commit 44accbcacf
6 changed files with 15 additions and 21 deletions

View File

@ -16,7 +16,6 @@
PROG= dump
LINKS= ${BINDIR}/dump ${BINDIR}/rdump
CFLAGS+=-DRDUMP
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
WARNS= 0
SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c
MAN= dump.8

View File

@ -42,7 +42,7 @@
.Nd file system backup
.Sh SYNOPSIS
.Nm
.Op Fl 0123456789ackLnSu
.Op Fl 0123456789acLnSu
.Op Fl B Ar records
.Op Fl b Ar blocksize
.Op Fl C Ar cachesize

View File

@ -126,9 +126,8 @@ main(int argc, char *argv[])
usage();
obsolete(&argc, &argv);
#define optstring "0123456789aB:b:C:cD:d:f:h:LnSs:T:uWw"
while ((ch = getopt(argc, argv, optstring)) != -1)
#undef optstring
while ((ch = getopt(argc, argv,
"0123456789aB:b:C:cD:d:f:h:LnSs:T:uWw")) != -1)
switch (ch) {
/* dump level */
case '0': case '1': case '2': case '3': case '4':
@ -561,8 +560,7 @@ static void
usage(void)
{
fprintf(stderr,
"usage: dump [-0123456789ac"
"LnSu] [-B records] [-b blocksize] [-C cachesize]\n"
"usage: dump [-0123456789acLnSu] [-B records] [-b blocksize] [-C cachesize]\n"
" [-D dumpdates] [-d density] [-f file] [-h level] [-s feet]\n"
" [-T date] filesystem\n"
" dump -W | -w\n");

View File

@ -6,7 +6,6 @@
PROG= restore
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
CFLAGS+=-DRRESTORE
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
WARNS= 0
SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
dumprmt.c

View File

@ -97,8 +97,7 @@ main(int argc, char *argv[])
if ((inputdev = getenv("TAPE")) == NULL)
inputdev = _PATH_DEFTAPE;
obsolete(&argc, &argv);
#define optlist "b:df:himNRrs:tuvxy"
while ((ch = getopt(argc, argv, optlist)) != -1)
while ((ch = getopt(argc, argv, "b:df:himNRrs:tuvxy")) != -1)
switch(ch) {
case 'b':
/* Change default tape blocksize. */
@ -280,11 +279,11 @@ static void
usage()
{
(void)fprintf(stderr, "usage:\t%s\n\t%s\n\t%s\n\t%s\n\t%s\n",
"restore -i [-cdhkmNuvy] [-b blocksize] [-f file] [-s fileno]",
"restore -r [-cdkNuvy] [-b blocksize] [-f file] [-s fileno]",
"restore -R [-cdkNuvy] [-b blocksize] [-f file] [-s fileno]",
"restore -x [-cdhkmNuvy] [-b blocksize] [-f file] [-s fileno] [file ...]",
"restore -t [-cdhkNuvy] [-b blocksize] [-f file] [-s fileno] [file ...]");
"restore -i [-cdhmNuvy] [-b blocksize] [-f file] [-s fileno]",
"restore -r [-cdNuvy] [-b blocksize] [-f file] [-s fileno]",
"restore -R [-cdNuvy] [-b blocksize] [-f file] [-s fileno]",
"restore -x [-cdhmNuvy] [-b blocksize] [-f file] [-s fileno] [file ...]",
"restore -t [-cdhNuvy] [-b blocksize] [-f file] [-s fileno] [file ...]");
done(1);
}

View File

@ -42,32 +42,32 @@
.Sh SYNOPSIS
.Nm
.Fl i
.Op Fl cdhkmNuvy
.Op Fl cdhmNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file
.Op Fl s Ar fileno
.Nm
.Fl R
.Op Fl cdkNuvy
.Op Fl cdNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file
.Op Fl s Ar fileno
.Nm
.Fl r
.Op Fl cdkNuvy
.Op Fl cdNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file
.Op Fl s Ar fileno
.Nm
.Fl t
.Op Fl cdhkNuvy
.Op Fl cdhNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file
.Op Fl s Ar fileno
.Op Ar
.Nm
.Fl x
.Op Fl cdhkmNuvy
.Op Fl cdhmNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file
.Op Fl s Ar fileno
@ -308,7 +308,6 @@ or
.Nm
reads from the named file on the remote host using
.Xr rmt 8 .
.Pp
.It Fl h
Extract the actual directory,
rather than the files that it references.