cvs commit: src/share/man/man5 rc.conf.5 src/etc/rc.d Makefile mdconfig mdconfig2

Florent Thoumie flz at
Tue Aug 22 14:29:20 UTC 2006

On Tue, 2006-08-22 at 18:16 +0400, Dmitry Morozovsky wrote:
> On Tue, 22 Aug 2006, Kris Kennaway wrote:
> KK> > > >    Use should be as easy as:
> KK> > > >
> KK> > > >    mdconfig_md0="-t malloc -s 10m"
> KK> > 
> KK> > We should consider adding "-o reserve" to malloc-backed md creation
> KK> > where applicable (e.g. the md-backed /tmp creation) to avoid bogus PRs
> KK> > from people who run their kernels out of memory by filling up /tmp.
> KK> 
> KK> Oops, I forgot they were already (correctly) fixed to use swap backing
> KK> (I think).
> Not yet, the default is still -M.  I had a patch for this, based on vm.nswapdev 
> value, to use malloc-backed md only on swapless machines:

I don't know if it's correct, but rc.d/mdconfig{,2} don't use the
mount_md() subroutine in rc.subr. So, in this case, it's pointless.

Florent Thoumie
flz at
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the cvs-src mailing list