From owner-freebsd-current Mon Mar 26 23:59:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 9793637B71A; Mon, 26 Mar 2001 23:59:36 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id JAA07401; Tue, 27 Mar 2001 09:59:23 +0200 (MET DST) Date: Tue, 27 Mar 2001 09:59:23 +0200 (CEST) From: Harti Brandt To: Warner Losh Cc: Falco Krepel , Mike Smith , Subject: Re: use md device in /etc/rc.diskless{1,2} In-Reply-To: <200103270743.f2R7h6942718@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 27 Mar 2001, Warner Losh wrote: WL>In message <3ABF71F4.593D6C48@fokus.gmd.de> Falco Krepel writes: WL>: 1. For example you could use the diskless boot procedure for smart WL>: clients with a small disk used as swap space. So I think it is better to WL>: use swap instead of malloc for var,dev, and tmp. This could be done with WL>: a variable (e.g. diskless_swap_enable). What do think about it? WL> WL>I think it is a bad idea. rc.diskless* is often used in cases where no WL>swap exists. This is a very popular way to run of cf where you cannot WL>configure swap due to excess wear and tear on the cf which has a very WL>limited number of writes. Well, the idea is to have a config knob, where you can tell to mdconfig whether it should use 'swap' or 'malloc'. This should, of course, default to malloc. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, harti@begemot.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message