Improve example of restoring a complete filesystem with "restore -r":

- NetBSD's "newfs" doesn't accept a second (non-option) argument.
  Patch provided by Jeff Ito in PR bin/36241.
- Use "sd0" instead of "rp0" because NetBSD's doesnt have a disk driver
  called "rp".
- Use "/dev/rst0" instead of "/dev/rst8". With NetBSD's device numbering
  scheme a system would have to have 9 tape drives to get "/dev/rst8".
This commit is contained in:
tron 2007-04-30 12:32:35 +00:00
parent 6e3d653f39
commit 962652c0b2

View File

@ -1,4 +1,4 @@
.\" $NetBSD: restore.8,v 1.49 2005/01/11 09:40:59 wiz Exp $
.\" $NetBSD: restore.8,v 1.50 2007/04/30 12:32:35 tron Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -229,11 +229,11 @@ detrimental to one's health if not used carefully (not to mention
the disk).
An example:
.Bd -literal -offset indent
newfs /dev/rrp0g eagle
mount /dev/rp0g /mnt
newfs /dev/rsd0g
mount /dev/sd0g /mnt
cd /mnt
restore rf /dev/rst8
restore rf /dev/rst0
.Ed
.Pp
Note that