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"
    mdconfig_md1="-t vnode -f /var/foo.img"

See rc.conf(5) for more information and description of the additional
    variables.

Nice. This is the elegant solution I missed with the original effort. ;^)

--
           Where am I, and what am I doing in this handbasket?
Wes Peters [EMAIL PROTECTED]

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to