From naddy@mips.inka.de  Tue Mar  6 13:06:05 2001
Return-Path: <naddy@mips.inka.de>
Received: from mail.inka.de (quechua.inka.de [212.227.14.2])
	by hub.freebsd.org (Postfix) with ESMTP id 8CF8837B71B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Mar 2001 13:06:04 -0800 (PST)
	(envelope-from naddy@mips.inka.de)
Received: from kemoauc.mips.inka.de (uucp@)
	by mail.inka.de with local-bsmtp 
	id 14aOeh-0004nY-01; Tue, 6 Mar 2001 22:06:03 +0100
Received: (from naddy@localhost)
	by kemoauc.mips.inka.de (8.11.3/8.11.1) id f26KkHC27910;
	Tue, 6 Mar 2001 21:46:17 +0100 (CET)
	(envelope-from naddy)
Message-Id: <200103062046.f26KkHC27910@kemoauc.mips.inka.de>
Date: Tue, 6 Mar 2001 21:46:17 +0100 (CET)
From: Christian Weisgerber <naddy@mips.inka.de>
Reply-To: naddy@mips.inka.de
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: dump/restore: /dev/rsa -> /dev/sa
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         25574
>Category:       docs
>Synopsis:       dump/restore: /dev/rsa -> /dev/sa
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keichii
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 13:10:01 PST 2001
>Closed-Date:    Fri Mar 9 05:04:35 PST 2001
>Last-Modified:  Fri Mar 09 05:05:13 PST 2001
>Originator:     Christian Weisgerber
>Release:        FreeBSD 5.0-CURRENT alpha
>Organization:
>Environment:
System: FreeBSD kemoauc.mips.inka.de 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Mar 5 22:50:04 CET 2001 naddy@kemoauc.mips.inka.de:/usr/src/sys/compile/KEMOAUC alpha

>Description:

dump and restore still reference the tape devices by their old 'r'
device names, e.g. "/dev/rsa" instead of "/dev/sa".  This concerns
both the man pages and the name of the default device.

>How-To-Repeat:

>Fix:

Index: dump/dump.8
===================================================================
RCS file: /home/ncvs/src/sbin/dump/dump.8,v
retrieving revision 1.32
diff -u -r1.32 dump.8
--- dump/dump.8	2001/03/03 11:35:50	1.32
+++ dump/dump.8	2001/03/06 17:33:57
@@ -139,7 +139,7 @@
 .Ar file
 may be a special device file
 like
-.Pa /dev/rsa0
+.Pa /dev/sa0
 (a tape drive),
 .Pa /dev/fd1
 (a floppy disk drive),
@@ -317,7 +317,7 @@
 .It
 Always start with a level 0 backup, for example:
 .Bd -literal -offset indent
-/sbin/dump -0u -f /dev/nrsa0 /usr/src
+/sbin/dump -0u -f /dev/nsa0 /usr/src
 .Ed
 .Pp
 This should be done at set intervals, say once a month or once every two months,
@@ -349,7 +349,7 @@
 program.
 .Sh FILES
 .Bl -tag -width /etc/dumpdates -compact
-.It Pa /dev/rsa0
+.It Pa /dev/sa0
 default tape unit to dump to
 .It Pa /etc/dumpdates
 dump date records
Index: dump/pathnames.h
===================================================================
RCS file: /home/ncvs/src/sbin/dump/pathnames.h,v
retrieving revision 1.5
diff -u -r1.5 pathnames.h
--- dump/pathnames.h	1998/09/22 10:05:17	1.5
+++ dump/pathnames.h	2001/03/06 17:35:25
@@ -35,7 +35,7 @@
 
 #include <paths.h>
 
-#define	_PATH_DEFTAPE	"/dev/rsa0"
+#define	_PATH_DEFTAPE	"/dev/sa0"
 #define	_PATH_DTMP	"/etc/dtmp"
 #define	_PATH_DUMPDATES	"/etc/dumpdates"
 #define	_PATH_LOCK	"/tmp/dumplockXXXXXX"
Index: restore/pathnames.h
===================================================================
RCS file: /home/ncvs/src/sbin/restore/pathnames.h,v
retrieving revision 1.3
diff -u -r1.3 pathnames.h
--- restore/pathnames.h	1998/09/22 10:05:26	1.3
+++ restore/pathnames.h	2001/03/06 20:27:56
@@ -40,4 +40,4 @@
 
 #include <paths.h>
 
-#define	_PATH_DEFTAPE	"/dev/rsa0"
+#define	_PATH_DEFTAPE	"/dev/sa0"
Index: restore/restore.8
===================================================================
RCS file: /home/ncvs/src/sbin/restore/restore.8,v
retrieving revision 1.27
diff -u -r1.27 restore.8
--- restore/restore.8	2001/02/13 09:52:50	1.27
+++ restore/restore.8	2001/03/06 20:27:45
@@ -204,7 +204,7 @@
 mount /dev/da0s1a /mnt
 cd /mnt
 
-restore rf /dev/rsa0
+restore rf /dev/sa0
 .Ed
 .Pp
 Note that 
@@ -280,7 +280,7 @@
 .Ar file
 may be a special device file
 like
-.Pa /dev/rsa0
+.Pa /dev/sa0
 (a tape drive),
 .Pa /dev/da1c
 (a disk drive),
@@ -413,7 +413,7 @@
 .El
 .Sh FILES
 .Bl -tag -width "./restoresymtable" -compact
-.It Pa /dev/rsa0
+.It Pa /dev/sa0
 the default tape drive
 .It Pa /tmp/rstdir*
 file containing directories on the tape.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->keichii 
Responsible-Changed-By: keichii 
Responsible-Changed-When: Thu Mar 8 08:06:40 PST 2001 
Responsible-Changed-Why:  
I will do this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25574 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Mar 9 05:04:35 PST 2001 
State-Changed-Why:  
fixed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25574 
>Unformatted:
