From owner-cvs-src@FreeBSD.ORG Wed Mar 17 09:36:34 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 E53C116A4CF for ; Wed, 17 Mar 2004 09:36:34 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id B0ABB43D3F for ; Wed, 17 Mar 2004 09:36:34 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 1855 invoked by uid 1000); 17 Mar 2004 17:36:35 -0000 Date: Wed, 17 Mar 2004 09:36:35 -0800 (PST) From: Nate Lawson To: Wes Peters In-Reply-To: <20040316225131.010f9a31.wes@softweyr.com> Message-ID: <20040317093502.X1820@root.org> References: <200403151836.i2FIaLCX044950@repoman.freebsd.org> <20040316225131.010f9a31.wes@softweyr.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@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 17:36:35 -0000 On Tue, 16 Mar 2004, 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! I have the same problem with my auto-recovery script for ccd. It realizes that only one disk is present, configures it, mounts it, and recreates a scratch directory. But the last one has to be delayed in the boot since chown isn't available till later. BTW, you don't need chgrp, just do chown user:group file. -Nate