9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Fco.J.Ballesteros <nemo@plan9.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: [9fans] replica/changes question and bug|my-own-mistake
Date: Thu, 23 May 2002 20:00:01 +0200	[thread overview]
Message-ID: <ef9109bc7d488d7e49414c9525ba6e66@plan9.escet.urjc.es> (raw)

I see that it calls updatedb with `-u glenga'; as a result the
entries generated for my changes are `glenda nemo' and not `nemo nemo'.
Is that `-u glenda' really needed?

Another issue is that for me, a replica/push after a a replica/pull
would make a mistake and delete from the server all the stuff I pulled.
I think the reason is that despite a disk/kfscmd allow, the time
is not updated on the pulled file (a directory actually).

For example:
	replica/pull /replica/cfg/for/nemo/to/nemo1 	doc
	replica/changes /replica/cfg/for/nemo/to/nemo1 	doc
reports as a change that `doc' has been deleted in the client.

I think that the problem is that the pulled file ends up like this:
	d-rwxrwxr-x M 8 nemo nemo 0 May 23 19:28 /usr/nemo1/doc #now!
but the server version was:
	d-rwxrwxr-x M 23 nemo nemo 0 May  8 11:05 /usr/nemo/doc


The entries on both the client and server databases are:
	doc - 20000000775 nemo sys 1020848755 0
which I think correspond to the correct server's time for the file (May 8).

What's going on?
Any idea?

thanks



             reply	other threads:[~2002-05-23 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 18:00 Fco.J.Ballesteros [this message]
2002-05-23 18:05 rsc
2002-05-23 18:19 Fco.J.Ballesteros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef9109bc7d488d7e49414c9525ba6e66@plan9.escet.urjc.es \
    --to=nemo@plan9.escet.urjc.es \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).