cvs commit: src/etc/rc.d ramdisk

Wes Peters wes at softweyr.com
Tue Mar 16 22:51:34 PST 2004


On Tue, 16 Mar 2004 17:45:58 -0800 Gordon Tetlow <gordon at FreeBSD.org>
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!

-- 

        Where am I, and what am I doing in this handbasket?

Wes Peters                                               wes at softweyr.com


More information about the cvs-all mailing list