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 griffon26
Full name Maurice van der Pot
Date 2008-07-15 14:07:06 PDT
Message On Tue, Jul 15, 2008 at 08:16:40PM +0200, Philipp Marek wrote:
> The hash is simply MD5(wcroot) - so /etc will be
> 182f153bd94803955c20​43e6f2581d5d on *every* machine.

That's good to know. Is this in the docs somewhere? Might be useful to
add if it isn't.

> But FSVS_CONF will be different in your example - because $HOME differs, or am
> I wrong here?

Yes, I have some accounts with different usernames. I was just looking
ahead though.. at the moment I'm still evaluating fsvs on machines where
I have the same username.

> > I'm using fsvs as a normal user with FSVS_CONF=${HOME}/.fsvs and
> > FSVS_WAA=${FSVS_CONF}/waa. I'm using this with just this one account.
> IIUYC, you have just one account *per machine*, right?

Correct.

> 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 tried to think of a way to modify the tests to show the problem, but
the "cd /" in 051_softroot scared me away ;-)

Regards,
Maurice.

--
Maurice van der Pot

Gentoo Linux Developer griffon26 at gentoo dot org http://www.gentoo.org
Gnome Planner Developer griffon26 at kfk4ever dot com http://live.gnome.org/Planner
Attachments

« Previous message in topic | 13 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: