On 30-03-2010 07:19:02 +0200, Markus Duft wrote:
> just to chime in on the movability: i successfully moved whole prefix
> installations to other directories, and they worked fine (hint: i used
> chpathtool to adjust paths) the only limitation is, that the path has to
> be the exact same length (or less long, but that one didn't work for me
> yet, but that could be fixable). of course this is not really
> convenient, but it should be possibly for you to create
> 
> "/home/user/prefix-with-long-path1"
> and
> "/cluster/disk25/user/prefix-short"
> 
> those would be exchangeable. Of course chpathtool is possibly still not
> perfect, and i observed the one or the other segfault with certain files
> (none of those lately though). However you're free to fix it ;)

That could match chpathtool's changes that it got recently.  Instead of
trying to shorten paths, it now pads them with leading slashes, e.g.:

original prefix:  /path/to/my/long/prefix
target prefix:    ////////my/short/prefix

As a result, the target prefix is always as long as the original prefix,
be it somewhat ugly.  We found that this solves misc issues that you get
when you suddenly make a string smaller ;)


-- 
Fabian Groffen
Gentoo on a different level

Reply via email to