Module Name: src
Committed By: christos
Date: Sun Nov 22 00:02:56 UTC 2009
Modified Files:
src/share/man/man4: wapbl.4
Log Message:
don't use the raw device in example. From rudolph
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/wapbl.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/wapbl.4
diff -u src/share/man/man4/wapbl.4:1.9 src/share/man/man4/wapbl.4:1.10
--- src/share/man/man4/wapbl.4:1.9 Fri Apr 10 17:30:24 2009
+++ src/share/man/man4/wapbl.4 Sat Nov 21 19:02:56 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: wapbl.4,v 1.9 2009/04/10 21:30:24 ad Exp $
+.\" $NetBSD: wapbl.4,v 1.10 2009/11/22 00:02:56 christos Exp $
.\"
.\" Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd April 10, 2009
+.Dd November 21, 2009
.Dt WAPBL 4
.Os
.Sh NAME
@@ -79,46 +79,46 @@
.Pp
For a new file system,
.Bd -literal -offset indent
-newfs -s -64m /dev/rwd0a
+newfs -s -64m /dev/wd0a
.Ed
.Pp
can be used to leave space for a 64MB journal at the end of
-.Pa /dev/rwd0a .
+.Pa /dev/wd0a .
.Pp
To specify the size of the journal within the file system
.Xr tunefs 8
can be used as follows:
.Bd -literal -offset indent
-tunefs -l 64m /dev/rwd0a
+tunefs -l 64m /dev/wd0a
.Ed
.Pp
to indicate that a journal of size 64MB on the file system on
-.Pa /dev/rwd0a
+.Pa /dev/wd0a
should be created the next time that file system is mounted.
This must be done before the file system is mounted with the
.Dq -o log
option.
For existing file systems and general use, however, simply using
.Bd -literal -offset indent
-mount -o log /dev/rwd0a /mnt
+mount -o log /dev/wd0a /mnt
.Ed
.Pp
will be sufficient to create an appropriate journal within the file
system.
Running
.Bd -literal -offset indent
-tunefs -l 0 /dev/rwd0a
+tunefs -l 0 /dev/wd0a
.Ed
.Pp
will schedule the log for removal on the next read-write mount, and
running
.Bd -literal -offset indent
-tunefs -l 0 /dev/rwd0a
+tunefs -l 0 /dev/wd0a
.Ed
.Pp
followed by
.Bd -literal -offset indent
-mount -o log /dev/rwd0a /mnt
+mount -o log /dev/wd0a /mnt
.Ed
.Pp
will remove the log and then re-create it with the default size.