mdconfig via rc.conf
RW
rwmaillists at googlemail.com
Wed Mar 5 12:48:43 UTC 2014
On Tue, 4 Mar 2014 14:14:11 -0800
aurfalien wrote:
> Hi,
>
> 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?
It's unlikely that you really want to be using -t malloc, which uses
wired kernel memory that's never released, and can cause kernel panics
if not reserved with the -o option. -t swap will use
swap-backed memory which is equivalent to an ordinary userland malloc.
However mdconfig has largely been obsoleted by tmpfs which has its own
integrated file-system and so doesn't waste memory on storing deleted
files.
More information about the freebsd-questions
mailing list