Date: Tue, 4 Mar 2014 07:48:53 -0700 From: Warner Losh <imp@bsdimp.com> To: Jia-Shiun Li <jiashiun@gmail.com> Cc: George Rosamond <george@ceetonetechnology.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: TMPFS in kernels Message-ID: <C1297CD6-C313-4516-BA51-71C427C45B79@bsdimp.com> In-Reply-To: <CAHNYxxPvRwmSDw8M9znFi1QsDq%2BR=Ash7AODWTct4Q_TBdOCVQ@mail.gmail.com> References: <5313D0FE.8010008@ceetonetechnology.com> <1393818974.1149.270.camel@revolution.hippie.lan> <5314016B.1000107@ceetonetechnology.com> <20140303061136.GB85204@zibbi.meraka.csir.co.za> <CAHNYxxPvRwmSDw8M9znFi1QsDq%2BR=Ash7AODWTct4Q_TBdOCVQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 4, 2014, at 3:30 AM, Jia-Shiun Li <jiashiun@gmail.com> wrote: > 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. >=20 > 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. I=92ll have to give it a spin on NanoBSD then, at least as an option=85 Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1297CD6-C313-4516-BA51-71C427C45B79>