Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 21:46:17 +0100 (CET)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/25574: dump/restore: /dev/rsa -> /dev/sa
Message-ID:  <200103062046.f26KkHC27910@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help

>Number:         25574
>Category:       docs
>Synopsis:       dump/restore: /dev/rsa -> /dev/sa
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 13:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103062046.f26KkHC27910>