Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Questions about ignoring files

fsvs
Discussion topic

Back to topic list

Re: Questions about ignoring files

Author pmarek
Full name P.Marek
Date 2008-07-17 10:22:56 PDT
Message 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 (6666cd76f96956469e7​be39d750cc7d9), 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)!

« Previous message in topic | 20 of 20 | Next message in topic »

Messages

Show all messages in topic

Questions about ignoring files griffon26 Maurice van der Pot 2008-07-06 15:27:51 PDT
     Re: Questions about ignoring files pmarek P.Marek 2008-07-12 05:35:32 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-12 05:55:44 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-12 06:59:03 PDT
                 Re: Questions about ignoring files pmarek P.Marek 2008-07-12 07:02:53 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-13 11:21:28 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-14 08:40:14 PDT
             Re: Questions about ignoring files Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-07-12 07:16:43 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 05:20:28 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 06:51:10 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 09:23:47 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-15 11:16:40 PDT
                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 14:07:06 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 22:17:07 PDT
                                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-17 03:58:04 PDT
                                     Re: Questions about ignoring files pmarek P.Marek 2008-07-17 04:13:38 PDT
                                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-18 10:54:56 PDT
                                             Re: Questions about ignoring files [PATCH] pmarek P.Marek 2008-07-18 11:58:38 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-16 20:37:21 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-17 10:22:56 PDT
Messages per page: