TMPFS in kernels

Jia-Shiun Li jiashiun at gmail.com
Tue Mar 4 10:31:04 UTC 2014


On Mon, Mar 3, 2014 at 2:11 PM, John Hay <jhay at meraka.org.za> wrote:
> Our embedded systems also use compact flash disks mounted ro. We have
> been (ab)using the nice etc/rc.initdiskless and etc/rc.d/var scripts
> by just having an etc/diskless and populated conf/base and conf/defaults
> directories. But it seems those scripts just work with md devices.

I remember hacking it a while ago to adopt tmpfs instead on my pxeboot
test environment. It only requires changing the line mdmfs mounting md to
'mount -t tmpfs' (plus mount options), and everything else will work as usual.

-Jia-Shiun.


More information about the freebsd-arm mailing list