On Wednesday 09 January 2008 Philipp Marek wrote:
> On Tuesday 08 January 2008 Sheldon Hearn wrote:
> > On Tuesday 08 January 2008 14:47:03 Sheldon Hearn wrote:
> > > > Meanwhile, how about setting up a new working copy with base
> > > > directory /mnt? A simple "cp /etc/fsvs/6666* /etc/fsvs/XXXXX" with
> > > > correct paths should work.
> > >
> > > Indeed, that's what I'll have to do.
> >
> > Alas, no dice.
> >
> > Backup and restore work, but then you lose "revert" functionality.  You
> > can no longer just jump into /etc and do "fsvs revert passwd". :-(
>
> Hmmm, because the local entry lists disagree?
>
> How about doing a symling /etc/fsvs/XXXX -> /etc/fsvs/6666* ? That could
> work ... both would keep the same data files.
>
> Or is there another problem?
One more problem ... If you use softroot, it tries to put the WAA and conf 
data in there - which isn't possible with a snapshot, as it's read-only, no?

You'd have to trick FSVS by using something like 
  FSVS_WAA=/mnt/../etc/fsvs FSVS_CONF=/mnt/../etc/fsvs
so that the prefix match would think that the softroot is already appended, 
and wouldn't change these paths.

Or, another idea: how about
        create snapshot
        mount snapshot
        mount --bind /etc/fsvs /mnt/etc/fsvs
        mount --bind /var/spool/fsvs /mnt/var/spool/fsvs
to make the needed directories writeable?


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to