From owner-freebsd-current@FreeBSD.ORG Thu Jan 22 15:22:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3D5C1065701 for ; Thu, 22 Jan 2009 15:22:07 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 2337B8FC1C for ; Thu, 22 Jan 2009 15:22:06 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from localhost (people [192.168.2.4]) by people.fsn.hu (Postfix) with SMTP id F332712AC95 for ; Thu, 22 Jan 2009 16:22:03 +0100 (CET) Received: from [172.16.129.134] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id 5BFB712AC8C; Thu, 22 Jan 2009 16:22:03 +0100 (CET) Message-ID: <49788F1B.7000600@fsn.hu> Date: Thu, 22 Jan 2009 16:22:03 +0100 From: Attila Nagy User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Igor Mozolevsky References: <4978853A.2000107@fsn.hu> In-Reply-To: X-Stationery: 0.4.8.12 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (people.fsn.hu [0.0.0.0]); Thu, 22 Jan 2009 16:22:03 +0100 (CET) X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Jan 22 16:22:03 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 49788f1b607582032818152 Cc: freebsd-current@freebsd.org Subject: Re: Creating swap based ramdisks from rc.initdiskless by default X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 15:22:08 -0000 Igor Mozolevsky wrote: > 2009/1/22 Attila Nagy : > > [snip] > > >> So the question is: what is the rationale behind creating malloc backed >> disks by default, instead of swap-backed ones? >> > > Yes --- booting from DoC/CDROM/PXE with no HDD on the node... > Did you read my e-mail? px# geom disk list px# swapinfo Device 1K-blocks Used Avail Capacity px# /sbin/mdmfs -S -i 4096 -s 32m md /tmp/a px# mdconfig -lv md0 malloc 9.8M md1 malloc 34M md2 swap 20M md3 swap 32M