From owner-cvs-all@FreeBSD.ORG Thu May 18 15:29:52 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E212E16A400; Thu, 18 May 2006 15:29:52 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 651C143D53; Thu, 18 May 2006 15:29:52 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4IFTRRr074294; Thu, 18 May 2006 15:29:27 GMT (envelope-from flz@repoman.freebsd.org) Received: (from flz@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4IFTRFu074293; Thu, 18 May 2006 15:29:27 GMT (envelope-from flz) Message-Id: <200605181529.k4IFTRFu074293@repoman.freebsd.org> From: Florent Thoumie Date: Thu, 18 May 2006 15:29:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man5 rc.conf.5 src/etc rc.subr src/etc/rc.d Makefile mdconfig mdconfig2 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:29:53 -0000 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