/etc on a separate filesystem ?

Adam Vande More amvandemore at gmail.com
Fri Sep 5 03:35:48 UTC 2014


On Thu, Sep 4, 2014 at 10:08 PM, Victor Sudakov <vas at mpeks.tomsk.su> wrote:

> Adam Vande More wrote:
> > >
> > > > Michael Sierchio wrote:
> > > >> > Is it possible to keep /etc on a separate filesystem?
> > > >> No. /etc/fstab, among other things
> > > >
> > > > That's why I am asking.
> > >
> > > It kind of depends on *why* you're asking.
> >
> >
> > Sounds an awful lot like an XY problem to me.
>
> That's fair. Let me explain my purpose. I have created a LiveUSB for
> testing and hardware diagnostics with dualboot: FreeBSD amd64 and
> i386. I was looking for a way for them to share a common /etc.
>
> If there is no easy way, I can rsync changes of /etc from one system
> to another on shutdown, or find something else.


That is a better description.  If this tool is going to be confined to a
network you have control over, doing a diskless mount on /etc may be
sufficient.  Otherwise unison does FS synchronization, or you could take a
more targeted approach with rcs(1).



-- 
Adam


More information about the freebsd-questions mailing list