diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-01-02 14:28:06 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-01-02 14:28:06 +0000 |
commit | b4bca2d5ec08a70ae9ce5b721774412af991f9ec (patch) | |
tree | d5ddbe4658cc42425f69349f8f04deba18b82444 /sbin | |
parent | 6b11e29d1ee52b8e8c4ae751adfd2960239bc130 (diff) | |
download | src-b4bca2d5ec08a70ae9ce5b721774412af991f9ec.tar.gz src-b4bca2d5ec08a70ae9ce5b721774412af991f9ec.zip |
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
Notes
Notes:
svn path=/head/; revision=124075
Diffstat (limited to 'sbin')
-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 4c4b3066929d..1988b3e31710 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 |