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

Florent Thoumie flz at FreeBSD.org
Thu May 18 08:29:53 PDT 2006


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


More information about the cvs-src mailing list