use _PATH_DEFTAPE from <paths.h>

change doco references/examples from /dev/rmt* to /dev/rst*
This commit is contained in:
lukem 1997-04-15 07:00:45 +00:00
parent 31bf4d0efd
commit daf554f0c4
3 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dump.8,v 1.14 1996/02/05 23:59:37 mrg Exp $
.\" $NetBSD: dump.8,v 1.15 1997/04/15 07:00:45 lukem Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" Regents of the University of California.
@ -117,7 +117,7 @@ Write the backup to
.Ar file
may be a special device file
like
.Pa /dev/rmt12
.Pa /dev/rst0
(a tape drive),
.Pa /dev/rsd1c
(a disk drive),
@ -303,7 +303,7 @@ After several months or so, the daily and weekly tapes should get
rotated out of the dump cycle and fresh tapes brought in.
.Sh FILES
.Bl -tag -width /etc/dumpdates -compact
.It Pa /dev/rmt8
.It Pa /dev/rst0
default tape unit to dump to
.It Pa /dev/rst*
Raw SCSI tape interface

View File

@ -1,4 +1,4 @@
/* $NetBSD: pathnames.h,v 1.8 1995/03/18 14:55:06 cgd Exp $ */
/* $NetBSD: pathnames.h,v 1.9 1997/04/15 07:00:47 lukem Exp $ */
/*
* Copyright (c) 1989, 1993
@ -37,7 +37,6 @@
#include <paths.h>
#define _PATH_DEFTAPE "/dev/rmt8"
#define _PATH_DTMP "/etc/dtmp"
#define _PATH_DUMPDATES "/etc/dumpdates"
#define _PATH_LOCK "/tmp/dumplockXXXXXX"

View File

@ -1,4 +1,4 @@
/* $NetBSD: tape.c,v 1.9 1997/04/15 01:09:53 lukem Exp $ */
/* $NetBSD: tape.c,v 1.10 1997/04/15 07:00:49 lukem Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94";
#else
static char rcsid[] = "$NetBSD: tape.c,v 1.9 1997/04/15 01:09:53 lukem Exp $";
static char rcsid[] = "$NetBSD: tape.c,v 1.10 1997/04/15 07:00:49 lukem Exp $";
#endif
#endif /* not lint */
@ -616,7 +616,7 @@ restore_check_point:
tapeno+1, parentpid, getpid());
#endif /* TDEBUG */
/*
* If we have a name like "/dev/rmt0,/dev/rmt1",
* If we have a name like "/dev/rst0,/dev/rst1",
* use the name before the comma first, and save
* the remaining names for subsequent volumes.
*/