On Tue, 2015-01-27 at 16:40 -0800, John Hardin wrote:
> On Wed, 28 Jan 2015, Reindl Harald wrote:
> 
> > if understand you correctly we agree that there is no reason /var can't be 
> > mounted read-only?
> 
> Other than the historical practice that /var is intended to contain 
> varying data, and that implies read/write...
> 
Years ago I moved my Apache and my PostgreSQL installations from /var
to /home. Both are happy in their new location, so I can't see why the
same trick wouldn't work equally well for MySQL. Pick any place you
want, e.g. its own partition, then you can mount it read-only and know
you can't upset anything else by accident.

I suspect that HR has done exactly that and symlinked the read-only
partition into /var, which is another way to achieving the same end. The
main reasons I moved Apache and PostgreSQL to /home was so I could back
them up more easily and because /home has its own partition to make
Fedora reinstalls/upgrades easier.


Martin





Reply via email to