From owner-cvs-src@FreeBSD.ORG Tue Aug 22 09:49:27 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7885316A4DD; Tue, 22 Aug 2006 09:49:27 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF15343D46; Tue, 22 Aug 2006 09:49:26 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp3-g19.free.fr (Postfix) with ESMTP id D1A4C48F60; Tue, 22 Aug 2006 11:49:25 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 5098111458; Tue, 22 Aug 2006 11:49:25 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39579-08; Tue, 22 Aug 2006 11:49:17 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 6FDF111415; Tue, 22 Aug 2006 11:49:16 +0200 (CEST) From: Florent Thoumie To: Kris Kennaway In-Reply-To: <20060822094426.GA48626@xor.obsecurity.org> References: <200608211506.k7LF6cJH001832@repoman.freebsd.org> <1DE9D506-0C4B-4CE7-8944-DC4C8AE640C7@opensail.org> <20060822094353.GB48419@xor.obsecurity.org> <20060822094426.GA48626@xor.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UNpfjXNGO2/sQ0khsVq8" Date: Tue, 22 Aug 2006 10:49:08 +0100 Message-Id: <1156240148.53353.44.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Wes Peters Subject: Re: cvs commit: src/share/man/man5 rc.conf.5 src/etc/rc.d Makefile mdconfig mdconfig2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 09:49:27 -0000 --=-UNpfjXNGO2/sQ0khsVq8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-08-22 at 05:44 -0400, Kris Kennaway wrote: > On Tue, Aug 22, 2006 at 05:43:53AM -0400, Kris Kennaway wrote: > > On Tue, Aug 22, 2006 at 12:27:54AM -0700, Wes Peters wrote: > > >=20 > > > On Aug 21, 2006, at 8:06 AM, Florent Thoumie wrote: > > >=20 > > > >flz 2006-08-21 15:06:38 UTC > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: (Branch: RELENG_6) > > > > share/man/man5 rc.conf.5 > > > > etc/rc.d Makefile > > > > Added files: (Branch: RELENG_6) > > > > etc/rc.d mdconfig mdconfig2 > > > > Log: > > > > MFC: > > > > > > > > Add two new scripts (mdconfig/mdconfig2) to replace old ramdisk=20 > > > >{,-own} > > > > scripts. These scripts handle vnode backed md(4) devices. > > > > > > > > Two new variables have been introduced to be able to populate =20 > > > >the md(4) > > > > device once it has been mounted (mdconfig_*_files and =20 > > > >mdconfig_*_cmd). > > > > > > > > Use should be as easy as: > > > > > > > > mdconfig_md0=3D"-t malloc -s 10m" > >=20 > > We should consider adding "-o reserve" to malloc-backed md creation > > where applicable (e.g. the md-backed /tmp creation) to avoid bogus PRs > > from people who run their kernels out of memory by filling up /tmp. >=20 > Oops, I forgot they were already (correctly) fixed to use swap backing > (I think). Yeah, you can use swap, malloc and vnode backing. I don't see any reference to a 'reserve' mount option, but since you explicitly give the options in rc.conf, that would go in an example in rc.conf(5). --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-UNpfjXNGO2/sQ0khsVq8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBE6tMUMxEkbVFH3PQRAgnKAKCLcngQFKPLH7vZ9fbQaTwDo3m+lwCbBiL2 PhCUDLkiVuuAoGVwTfvJbDc= =Ut3t -----END PGP SIGNATURE----- --=-UNpfjXNGO2/sQ0khsVq8--