Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Add a reference to options(4) in md(4).



details:   https://anonhg.NetBSD.org/src/rev/cc5537a23ec7
branches:  trunk
changeset: 557585:cc5537a23ec7
user:      is <is%NetBSD.org@localhost>
date:      Mon Jan 12 20:03:39 2004 +0000

description:
Add a reference to options(4) in md(4).
Document missing options which change md(4) behaviour.

diffstat:

 share/man/man4/md.4      |  12 ++++++++++--
 share/man/man4/options.4 |  11 ++++++++++-
 2 files changed, 20 insertions(+), 3 deletions(-)

diffs (62 lines):

diff -r 247872dc2822 -r cc5537a23ec7 share/man/man4/md.4
--- a/share/man/man4/md.4       Mon Jan 12 19:40:24 2004 +0000
+++ b/share/man/man4/md.4       Mon Jan 12 20:03:39 2004 +0000
@@ -1,4 +1,4 @@
-.\"   $NetBSD: md.4,v 1.2 1999/03/16 01:19:16 garbled Exp $
+.\"   $NetBSD: md.4,v 1.3 2004/01/12 20:03:39 is Exp $
 .\"
 .\" This file is in the public domain.
 .\"
@@ -19,6 +19,13 @@
 before the
 .Nm
 device may be used as a disk.
+Its behaviour is configured by the kernel options
+.Sy MEMORY_DISK_HOOKS,
+.Sy MEMORY_DISK_IS_ROOT,
+.Sy MEMORY_DISK_ROOT_SIZE, 
+.Sy MEMORY_DISK_DYNAMIC
+and
+.Sy MEMORY_DISK_SERVER .
 .Sh FILES
 .Bl -tag -width /dev/rmdX -compact
 .It Pa "/dev/md??"
@@ -28,4 +35,5 @@
 .El
 .Sh SEE ALSO
 .Xr mdconfig 8 ,
-.Xr mdsetimage 8
+.Xr mdsetimage 8 ,
+.Xr options 4
diff -r 247872dc2822 -r cc5537a23ec7 share/man/man4/options.4
--- a/share/man/man4/options.4  Mon Jan 12 19:40:24 2004 +0000
+++ b/share/man/man4/options.4  Mon Jan 12 20:03:39 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: options.4,v 1.225 2003/11/20 15:07:07 wiz Exp $
+.\"    $NetBSD: options.4,v 1.226 2004/01/12 20:03:39 is Exp $
 .\"
 .\" Copyright (c) 1996
 .\"    Perry E. Metzger.  All rights reserved.
@@ -971,6 +971,11 @@
 .Xr sysctl 8
 and
 .Xr sysctl 3 .
+.It Cd options MEMORY_DISK_DYNAMIC
+This options makes the
+.Xr md 4 
+.Tn RAM
+disk size dynamically sized.
 .It Cd options MEMORY_DISK_HOOKS
 This option allows for some machine dependent functions to be called when
 the
@@ -993,6 +998,10 @@
 .Tn RAM
 disk, to be populated with
 .Xr mdsetimage 8 .
+.It Cd options MEMORY_DISK_SERVER=0
+Do not include the interface to a userland memory disk server process.
+Per default, this options is set to 1, including the support code. 
+Useful for install media kernels.
 .It Cd options VNODE_OP_NOINLINE
 Do not inline the
 .Fn VOP_*



Home | Main Index | Thread Index | Old Index