From owner-cvs-src@FreeBSD.ORG Tue Mar 16 23:00:02 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0541F16A4CE; Tue, 16 Mar 2004 23:00:02 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCE1C43D2F; Tue, 16 Mar 2004 23:00:00 -0800 (PST) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i2H6xfJM014649; Wed, 17 Mar 2004 07:59:56 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <4057F75D.7060705@DeepCore.dk> Date: Wed, 17 Mar 2004 07:59:41 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wes Peters References: <200403151836.i2FIaLCX044950@repoman.freebsd.org> <20040317014557.GH660@spiff.melthusia.org> <20040316225131.010f9a31.wes@softweyr.com> In-Reply-To: <20040316225131.010f9a31.wes@softweyr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: Gordon Tetlow cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: wes@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d ramdisk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 07:00:02 -0000 Wes Peters wrote: > On Tue, 16 Mar 2004 17:45:58 -0800 Gordon Tetlow > alleged: > > >>On Mon, Mar 15, 2004 at 10:36:21AM -0800, Wes Peters wrote: >> >>>wes 2004/03/15 10:36:21 PST >>> >>> FreeBSD src repository >>> >>> Added files: >>> etc/rc.d ramdisk >>> Log: >>> Add script for creating ramdisks at boot time, in time to be processed >>> by fstab. >> >>Can you add some documentation (and possibly default values) to rc.conf.5 >>and etc/defaults/rc.conf? > > > Yeah, as soon as I get it right. ;^) > > By the way, I didn't shrug off your idea of an mount_md, I just decided it > was the wrong way to go. fstab doesn't store that kind of information for > any other mount points, only for mfs, so it's probably not the right place > to put it. > > mount_md would've been easier to do, just link mount_md to mdmfs and you'd > get the behavior sought. This script seemed like a more 'rc.d-ish' way to > do it, modulo the little bug that you can't chown/chgrp before > mountcritlocal because chown is in /usr/sbin. Doh! Urhm, am I missing something or why dont you just put the md in fstab directly: # Device Mountpoint FStype Options Dump Pass# md /tmp mfs rw,-Ms64m 0 0 This have made my /tmp a ramdisk for a long time without any fuss... -Søren