Login | Register
My pages Projects Community openCollabNet

Discussions > users > Moving URL - what needs to be done?

fsvs
Discussion topic

Back to topic list

Moving URL - what needs to be done?

Author Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com>
Full name Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com>
Date 2007-12-13 22:17:07 PST
Message Hello.

Let's say, that I registered /tmp/a in FSVS. Now I'd like to move /tmp/a
to /var/tmp/b.

What needs to be done for this?

Is it enough, if /etc/fsvs/$old_id/_base is changed to point to the
new target (/var/tmp/b) and if /etc/fsvs/$old_id is changed? $old_id
is the md5 of the path, isn't it? So, for /tmp/a, it would be
4a95409c024057266531​d5bf11909beb and for /var/tmp/b, it would be
25ef7c0971d01e5c20fd​0bb93e984fec.

In short: Are the following steps enough?

        mv /etc/fsvs/4a95409c02​4057266531d5bf11909b​eb \
            /etc/fsvs/25ef7c0971​d01e5c20fd0bb93e984f​ec
        rm /etc/fsvs/25ef7c0971​d01e5c20fd0bb93e984f​ec/_base
        ln -s /var/tmp/b /etc/fsvs/25ef7c0971​d01e5c20fd0bb93e984f​ec/_base

Best regards,

Alexander Skwar

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

Moving URL - what needs to be done? Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-13 22:17:07 PST
     Re: Moving URL - what needs to be done? pmarek P.Marek 2007-12-14 06:27:04 PST
Messages per page: