Date: Tue, 22 Aug 2006 10:49:08 +0100 From: Florent Thoumie <flz@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Wes Peters <wes@opensail.org> Subject: Re: cvs commit: src/share/man/man5 rc.conf.5 src/etc/rc.d Makefile mdconfig mdconfig2 Message-ID: <1156240148.53353.44.camel@mayday.esat.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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:
> > >
> > > On Aug 21, 2006, at 8:06 AM, Florent Thoumie wrote:
> > >
> > > >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
> > > >{,-own}
> > > > scripts. These scripts handle vnode backed md(4) devices.
> > > >
> > > > Two new variables have been introduced to be able to populate
> > > >the md(4)
> > > > device once it has been mounted (mdconfig_*_files and
> > > >mdconfig_*_cmd).
> > > >
> > > > Use should be as easy as:
> > > >
> > > > mdconfig_md0="-t malloc -s 10m"
> >
> > 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.
>
> 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).
--
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iD8DBQBE6tMUMxEkbVFH3PQRAgnKAKCLcngQFKPLH7vZ9fbQaTwDo3m+lwCbBiL2
PhCUDLkiVuuAoGVwTfvJbDc=
=Ut3t
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1156240148.53353.44.camel>
