Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 22:19:15 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        aurfalien <aurfalien@gmail.com>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: mdconfig via rc.conf
Message-ID:  <alpine.BSF.2.00.1403042215470.39032@wonkity.com>
In-Reply-To: <80EE335C-E85A-433B-A4A2-287BA8BA1345@gmail.com>
References:  <80EE335C-E85A-433B-A4A2-287BA8BA1345@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Mar 2014, aurfalien wrote:

> Hi,
>
> Apology for the cross post as I asked in the general questions list and also if this is not an appropriate question.
>
> But are there any other parameters I would need to setup a ram disk at boot time?
>
> I have this in my rc.conf;
>
> mdconfig_md100=?-t malloc -s 12G?

rc.conf is sourced, but not the place for code.

> I?ve opted not to mount or format it for now.
>
> But upon boot, I do not see the md100 device.
>
> Is there anything I need in rc.conf to enable this?

It depends on the version of FreeBSD.  On FreeBSD 10, it's easy to do 
with an entry in /etc/fstab, see fstab(5).  For earlier versions, I'm 
not sure of the best way.  There's /etc/rc.local, but may be more 
automated ways in the other rc scripts.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1403042215470.39032>