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

Florent Thoumie flz at FreeBSD.org
Tue Aug 22 09:49:27 UTC 2006


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 at FreeBSD.org
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 : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060822/0b1358bd/attachment.pgp


More information about the cvs-src mailing list