Date: Tue, 4 Mar 2014 18:30:33 +0800 From: Jia-Shiun Li <jiashiun@gmail.com> To: John Hay <jhay@meraka.org.za> Cc: George Rosamond <george@ceetonetechnology.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: TMPFS in kernels Message-ID: <CAHNYxxPvRwmSDw8M9znFi1QsDq%2BR=Ash7AODWTct4Q_TBdOCVQ@mail.gmail.com> In-Reply-To: <20140303061136.GB85204@zibbi.meraka.csir.co.za> References: <5313D0FE.8010008@ceetonetechnology.com> <1393818974.1149.270.camel@revolution.hippie.lan> <5314016B.1000107@ceetonetechnology.com> <20140303061136.GB85204@zibbi.meraka.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 3, 2014 at 2:11 PM, John Hay <jhay@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNYxxPvRwmSDw8M9znFi1QsDq%2BR=Ash7AODWTct4Q_TBdOCVQ>