On Tue, Jul 15, 2008 at 08:16:40PM +0200, Philipp Marek wrote:
> The hash is simply MD5(wcroot) - so /etc will be 
> 182f153bd94803955c2043e6f2581d5d 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 
> (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 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   [EMAIL PROTECTED]    http://www.gentoo.org
Gnome Planner Developer  [EMAIL PROTECTED]  http://live.gnome.org/Planner

Attachment: pgpNYZ2T0y8ep.pgp
Description: PGP signature

Reply via email to