Date: Tue, 25 Aug 2015 09:02:35 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to minimize the number of writes to CF card? Message-ID: <CAHu1Y71KJ0bCgy2ab6CVnDk%2Bb1DUp7oSqwJZ1cEKhiSKw%2B=8-g@mail.gmail.com> In-Reply-To: <55DC3FBD.8080102@FreeBSD.org> References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 25, 2015 at 3:13 AM, Matthew Seaman <matthew@freebsd.org> wrote: > On 2015/08/25 10:58, zhup wrote: > > > I am going to install Freebsd on CF card and my question is: > > how to minimize the number of writes to CF card? > > Mount it read-only? > I could have offered that advice without being facetious, Matthew. ;-) If you have adequate RAM and can mount a mfs for /var, symlink /tmp->/var/tmp, that works. I have some rc scripts that periodically mount a partition r/w and save the state of things in /var that I want to persist. And if you can't mount it read-only, mount it rw,noatime. Updating access time causes many, many writes. - M
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y71KJ0bCgy2ab6CVnDk%2Bb1DUp7oSqwJZ1cEKhiSKw%2B=8-g>