diff options
author | phk <phk@FreeBSD.org> | 2004-01-02 14:28:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-01-02 14:28:06 +0000 |
commit | 880a2ed1296275e0b1eaa397bd668e4411c9cead (patch) | |
tree | d5ddbe4658cc42425f69349f8f04deba18b82444 | |
parent | 588931c92445f25c39e5aae498a081b3053663bd (diff) | |
download | FreeBSD-src-880a2ed1296275e0b1eaa397bd668e4411c9cead.zip FreeBSD-src-880a2ed1296275e0b1eaa397bd668e4411c9cead.tar.gz |
Warn that big malloc disks are a panic(8) implementation.
Submitted by: Colin Percival <cperciva@builder.daemonology.net>
(Who should really get his own bit one of these days!)
PR: 59988
-rw-r--r-- | sbin/mdconfig/mdconfig.8 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8 index 4c4b306..1988b3e 100644 --- a/sbin/mdconfig/mdconfig.8 +++ b/sbin/mdconfig/mdconfig.8 @@ -91,6 +91,11 @@ Select the type of the memory disk. Storage for this type of memory disk is allocated with .Xr malloc 9 . This limits the size to the malloc bucket limit in the kernel. +If the +.Fl o Cm reserve +option is not set, creating and filling a large +malloc-backed memory disk is a very easy way to +panic a system. .It Cm vnode A file specified with .Fl f Ar file |