From 962652c0b25a1d31069f0129d341e9645ac63642 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 30 Apr 2007 12:32:35 +0000 Subject: [PATCH] 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". --- sbin/restore/restore.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/restore/restore.8 b/sbin/restore/restore.8 index 5d2405558221..e9e6f619443b 100644 --- a/sbin/restore/restore.8 +++ b/sbin/restore/restore.8 @@ -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