versioning Linux config files on two servers with cross-mounted /home folder
Harald Meland
harald.meland at usit.uio.no
Sat Mar 22 22:43:34 GMT 2008
[Rahul Nabar]
> On Fri, Mar 21, 2008 at 6:41 PM, Harald Meland
> <harald.meland at usit.uio.no> wrote:
>>
>> If your repo is placed somewhere on the cross-mounted file system
>> (e.g. as ~/.bzr/repository/, which would be the result of running "bzr
>> init ~"), then you already have an "integrated repo" that's accessible
>> from both servers.
>
> Thanks for the response, Harald! Yes, it is at that location.
> Question: I don't redo a bzr init on the second installation,
> correct?
No, the file system has already been "bzr init"ed once, bzr doesn't
care about (or even know) which server the "bzr init" command was
issued on.
> Just install bzr and my bzr inventory should reflect exactly what I
> see on serverA?
Yes (though you should make sure the clocks on your servers are in
sync; I think clock skew could lead to bad bzr performance).
> {How would the bzr on serverB know the location of the
> inventory, though;the only time I remember specifying it on serverA
> was during the init.}
Hmm, I'm not sure what you're talking about when you say "inventory"
here. Bzr does have an internal concept that goes by that name, but I
don't think its on-disk storage location is ever exposed through the
user interface.
What does "bzr info ~" report when you run it on server A? If it says
"Standalone tree", there should be no trouble accessing the same
bzr-managed data by running bzr on both servers.
--
Harald
More information about the bazaar
mailing list