On Tuesday 15 July 2008 Maurice van der Pot wrote:
> On Tue, Jul 15, 2008 at 08:16:40PM +0200, Philipp Marek wrote:
> > And now I may have another way for your setup - use the softroot option.
> >
> > Ie. set FSVS_SOFTROOT=$HOME FSVS_CONF=/.fsvs FSVS_WAA=$FSVS_CONF/waa, and
> > tell FSVS to keep $HOME versioned - that will have the same hash
> > everywhere (6666cd76f96956469e7be39d750cc7d9), and the machine-dependent
> > $HOME is done via the softroot.
>
> Yes, this would be great, except that right now it fails in waa_init
> with:
>
> An error occurred: No such file or directory (2) in waa__init: stat()
> of waa-path '/.fsvs/waa' failed. Does your local storage area exist?
>
> because it uses the CONF and WAA directories before it prefixes them
> with the SOFTROOT.
>
> line 204:
> STOPIF( hlp__lstat(opt__get_string(OPT__WAA_PATH), &waa_stat),
> "!stat() of waa-path \"%s\" failed. "
> "Does your local WAA storage area exist? ",
> opt__get_string(OPT__WAA_PATH));
>
> line 240:
> waa___init_path(OPT__WAA_PATH, waa_tmp_path, &waa_tmp_fn);
I just fixed that - the validation of the waa and conf path was too early,
before taking the softroot into consideration.
Now it should work with the shorter definition, too - without having the
softroot in front.
> I tried to think of a way to modify the tests to show the problem, but
> the "cd /" in 051_softroot scared me away ;-)
Well, don't worry - I test FSVS several times an hour, and often enough even
as root user - so you see I'm confident that no major data loss should happen
because of FSVS :-)
Regards,
Phil
--
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]