#
158722 |
|
18-May-2006 |
flz |
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
|