/etc on a separate filesystem ?

Victor Sudakov vas at mpeks.tomsk.su
Fri Sep 5 03:59:07 UTC 2014


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.
> 
> You can always do a covering mount of /etc.

I can, but the covering mount will not be available at boot time yet,
when files from /etc are being read and executed.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list