/tmp, /var/log, /var/tmp as /dev/md - why?

Warren Block wblock at wonkity.com
Thu Jul 3 17:49:41 UTC 2014


On Thu, 3 Jul 2014, Ian Lepore wrote:
> On Thu, 2014-07-03 at 12:55 +0200, John Hay wrote:
>> On Thu, Jul 03, 2014 at 04:47:24AM -0600, Warren Block wrote:
>>>
>>> So a limited-size tmpfs will be faster and use less memory overall.  A
>>> benchmark comparison would be interesting.
>>
>> Last time I looked the rc scripts that create /etc, /var and /tmp
>> ramdisks only did it using md devices. It would be great if it was
>> easily tunable from say rc.conf or if could detect which one is
>> available and use that.
>
> I have patches ready to commit that do exactly that, but they weren't
> exactly enthusiastically received when I posted them on arch@ for
> review.

This thread?
http://lists.freebsd.org/pipermail/freebsd-arch/2014-March/015141.html

Have not read it fully yet, but it sounds exactly right: everything acts 
the same, the user can just pick tmpfs or mfs.


More information about the freebsd-arm mailing list