Date: Thu, 18 May 2006 15:29:27 +0000 (UTC) From: Florent Thoumie <flz@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/man/man5 rc.conf.5 src/etc rc.subr src/etc/rc.d Makefile mdconfig mdconfig2 Message-ID: <200605181529.k4IFTRFu074293@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
flz 2006-05-18 15:29:27 UTC
FreeBSD src repository
Modified files:
share/man/man5 rc.conf.5
etc rc.subr
etc/rc.d Makefile
Added files:
etc/rc.d mdconfig mdconfig2
Log:
Add two new scripts (mdconfig/mdconfig2) to replace old ramdisk{,-own}
scripts. These scripts handle vnode backed md(4) devices.
Old ramdisk{,-own} scripts will stay a bit in CVS to allow some time for
migration since variable names have changed (ramdisk_* -> mdconfig_*).
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"
mdconfig_md1="-t vnode -f /var/foo.img"
See rc.conf(5) for more information and description of the additional
variables.
Approved by: cperciva
Revision Changes Path
1.72 +1 -1 src/etc/rc.d/Makefile
1.1 +195 -0 src/etc/rc.d/mdconfig (new)
1.1 +226 -0 src/etc/rc.d/mdconfig2 (new)
1.57 +29 -0 src/etc/rc.subr
1.297 +88 -1 src/share/man/man5/rc.conf.5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605181529.k4IFTRFu074293>
