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

Kris Kennaway kris at obsecurity.org
Tue Aug 22 09:43:54 UTC 2006


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.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060822/6241d614/attachment.pgp


More information about the cvs-src mailing list