cvs commit: src/etc/rc.d ramdisk
Søren Schmidt
sos at DeepCore.dk
Tue Mar 16 23:00:02 PST 2004
Wes Peters wrote:
> 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!
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
More information about the cvs-src
mailing list