Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 don't use the raw device in example. From rud...
details: https://anonhg.NetBSD.org/src/rev/4fb0998113df
branches: trunk
changeset: 749227:4fb0998113df
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 22 00:02:56 2009 +0000
description:
don't use the raw device in example. From rudolph
diffstat:
share/man/man4/wapbl.4 | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (73 lines):
diff -r 7eaa853863d4 -r 4fb0998113df share/man/man4/wapbl.4
--- a/share/man/man4/wapbl.4 Sat Nov 21 23:47:01 2009 +0000
+++ b/share/man/man4/wapbl.4 Sun Nov 22 00:02:56 2009 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index