From b4bca2d5ec08a70ae9ce5b721774412af991f9ec Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 2 Jan 2004 14:28:06 +0000 Subject: Warn that big malloc disks are a panic(8) implementation. Submitted by: Colin Percival (Who should really get his own bit one of these days!) PR: 59988 --- sbin/mdconfig/mdconfig.8 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sbin') 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 -- cgit v1.2.3