From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 08:41:35 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 705CE16A4CE for ; Wed, 10 Nov 2004 08:41:35 +0000 (GMT) Received: from peru.gambit.com.ru (peru.gambit.com.ru [194.190.206.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FE5243D4C for ; Wed, 10 Nov 2004 08:41:34 +0000 (GMT) ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru) Received: from zen.intranet (unknown [194.190.206.175]) by peru.gambit.com.ru (Postfix) with ESMTP id 93BCF26154 for ; Wed, 10 Nov 2004 11:41:32 +0300 (MSK) Received: by zen.intranet (Postfix, from userid 441) id 65785164879; Wed, 10 Nov 2004 11:41:32 +0300 (MSK) Date: Wed, 10 Nov 2004 11:41:32 +0300 From: ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru To: freebsd-stable@freebsd.org Message-ID: <20041110084132.GA699@gambit.com.ru> Mail-Followup-To: freebsd-stable@freebsd.org References: <20041105110830.GP58031@gambit.com.ru> <20041105215427.GA33096@xor.obsecurity.org> <20041109083810.GJ58031@gambit.com.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Subject: md /tmp mfs rw,-s64m 0 0 in fstab instead of tmpmfs="YES" in rc.conf: no panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 08:41:35 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline >>>>This host has 192 MB of RAM and 512 MB of swap. >>>> /sbin/mdmfs -i 4096 -s $1 md $2 >> Kris Kennaway wrote: >>> You don't have enough RAM in your system to do that. >> I'm running mdmfs WITHOUT "-M" flag. Ronald Klop wrote: > Just set up your tmp from fstab with "md /tmp mfs rw,-s64m 0 0". Swap space is actually used in this case, thank you! > If you look at the code which handles tmpmfs it is used for diskless booting. "By default, mdmfs creates a swap-based (MD_SWAP) disk" -- from mdmfs(8). > So there is no swap usable for ramdisk. Should I send-pr a bug in mdmfs(8)? --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFBkdQ899Q+k88BflcRAltCAJ0VA369D2CKiF8aAwIfvMGd+z1UPgCfZfyH 7Fp/KL6YeR6oza7pEW80YXA= =FKvN -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--