linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: jw schultz <jw@pegasys.ws>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kernel.bkbits.net off the air
Date: Tue, 11 Nov 2003 16:00:50 +0100	[thread overview]
Message-ID: <20031111150050.GD1649@x30.random> (raw)
In-Reply-To: <Pine.LNX.4.44.0311102323240.980-100000@bigblue.dev.mdolabs.com>

On Mon, Nov 10, 2003 at 11:34:18PM -0800, Davide Libenzi wrote:
> On Mon, 10 Nov 2003, jw schultz wrote:
> 
> > If not you can test the directory.
> > 
> >         ls -l $CVSROOT/CVSROOT >$TMPFILE.start
> >         touch $TMPFILE.test
> > 
> >         until diff -q $TMPFILE.start $TMPFILE.test >/dev/null
> >         do
> > 		ls -l $CVSROOT/CVSROOT >$TMPFILE.start
> >                 rsync .....
> >                 ls -l $CVSROOT/CVSROOT >$TMPFILE.test
> >         done
> >         rm -f $TMPFILE.start $TMPFILE.test
> 
> It does not work either. If CVSROOT files are updated at the end, you can 
> still fetch some new files and be able to fetch the old CVSROOT before the 
> update process will be able to do it. I believe that the LOCK file idea 
> should work pretty nicely. The update process goes like:
> 
> create LOCK
> update repo
> remove LOCK
> 
> While the client can simply:
> 
> do
>     rsync
> while exist LOCK

that can't work either, the client can't take the lock, rsync is a
readonly thing. the create lock update repo, remove lock will all three
run during the client rsync. the "exist LOCK" will never notice.

unless you want to use snapshots etc.. the seq lock is the only viable
way to checkout coherent with rsync.

hope this isn't going too offtopic for l-k though.

  reply	other threads:[~2003-11-11 15:01 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07  5:10 kernel.bkbits.net off the air Larry McVoy
2003-11-07  9:53 ` Clemens Schwaighofer
2003-11-09 15:16 ` H. Peter Anvin
2003-11-09 15:25   ` Larry McVoy
2003-11-09 15:42     ` Davide Libenzi
2003-11-09 16:25       ` Larry McVoy
2003-11-10  1:21         ` Davide Libenzi
2003-11-10 13:26       ` Andrea Arcangeli
2003-11-10 16:49         ` Davide Libenzi
2003-11-10 16:57           ` Andrea Arcangeli
2003-11-10 17:54             ` Davide Libenzi
2003-11-10 17:59               ` H. Peter Anvin
2003-11-10 18:27                 ` Davide Libenzi
2003-11-10 18:37                   ` Andrea Arcangeli
2003-11-10 18:52                     ` Davide Libenzi
2003-11-10 19:08                     ` H. Peter Anvin
2003-11-10 19:23                       ` Davide Libenzi
2003-11-10 19:31                       ` Andrea Arcangeli
2003-11-10 19:42                         ` H. Peter Anvin
2003-11-10 23:41                           ` Andrea Arcangeli
2003-11-11 15:26                             ` Timothy Miller
2003-11-11  3:10                           ` Davide Libenzi
2003-11-11  3:25                             ` H. Peter Anvin
2003-11-11  3:48                           ` jw schultz
2003-11-11  4:03                             ` Davide Libenzi
2003-11-11  7:34                             ` Davide Libenzi
2003-11-11 15:00                               ` Andrea Arcangeli [this message]
2003-11-14  5:13                         ` Andrew Pimlott
2003-11-14 14:01                           ` Andrea Arcangeli
2003-11-14 14:53                             ` Larry McVoy
2003-11-14 15:28                               ` Andrea Arcangeli
2003-11-14 18:20                             ` H. Peter Anvin
2003-11-10 18:37                   ` David Roundy
2003-11-10 18:46                   ` Andreas Dilger
2003-11-09 19:28     ` H. Peter Anvin
2003-11-10  1:59       ` Matt Mackall
2003-11-10  2:38         ` H. Peter Anvin
     [not found] <fa.na6uip6.p2erhm@ifi.uio.no>
     [not found] ` <fa.dbkbts9.1k7ohhd@ifi.uio.no>
2003-11-11  4:00   ` walt
2003-11-11  7:22     ` Davide Libenzi
2003-11-11  7:37       ` Nick Piggin
2003-11-11  7:47         ` Davide Libenzi
2003-11-11 15:04         ` Andrea Arcangeli
2003-11-12 21:35           ` Benoit Poulot-Cazajous
2003-11-13 14:53             ` Andrea Arcangeli
2003-11-13 15:23               ` Andreas Schwab
2003-11-13 16:09                 ` Andrea Arcangeli
2003-11-13 16:29                 ` Larry McVoy
2003-11-13 16:39                   ` Andrea Arcangeli
2003-11-13 22:09                 ` Benoit Poulot-Cazajous
2003-11-11 15:02     ` Andrea Arcangeli
     [not found] <fa.eto0cvm.1v20528@ifi.uio.no>
     [not found] ` <fa.onl48uv.1tmeb21@ifi.uio.no>
2003-11-11 14:14   ` walt
2003-11-11 14:38     ` Andrew Walrond
2003-11-11 15:05       ` Andrea Arcangeli
2003-11-11 19:43       ` H. Peter Anvin
2003-11-11 20:21         ` Andrew Walrond
2003-11-11 20:38           ` Davide Libenzi
2003-11-11 23:52           ` Larry McVoy
2003-11-12  0:19             ` Andrea Arcangeli
2003-11-13 10:10             ` Andrew Walrond
2003-11-13 16:27               ` Larry McVoy
2003-11-13 16:43                 ` Mark Mielke
2003-11-13 17:14                 ` Davide Libenzi
2003-11-13 17:20                   ` Larry McVoy
2003-11-14  3:01                     ` Davide Libenzi
2003-11-13 18:21                   ` Tupshin Harper
2003-11-14  7:14                     ` Jan-Benedict Glaw
2003-11-14  9:48                       ` Tupshin Harper
2003-11-14  9:56                     ` Geert Uytterhoeven
2003-11-14 21:51                       ` Jan-Benedict Glaw
2003-11-14 22:55                       ` Roman Zippel
2003-11-13 19:17                 ` Andrew Walrond
2003-11-13 19:28                   ` Larry McVoy
2003-11-13 20:57                     ` Andrew Walrond
2003-11-13 21:17                       ` Sam Ravnborg
2003-11-14 14:54                         ` Larry McVoy
2003-11-14 15:00                       ` Larry McVoy
2003-11-14 16:24                         ` Andrew Walrond
2003-11-14 16:46                           ` Larry McVoy
2003-11-14 17:34                             ` Andrew Walrond
2003-11-14 17:43                               ` Larry McVoy
2003-11-14 18:17                                 ` Andrew Walrond
2003-11-16  5:12                                 ` Sven Dowideit
2003-11-18 15:30                                   ` Larry McVoy
2003-11-18 18:30                                     ` Ben Collins
2003-11-18 18:42                                       ` Larry McVoy
2003-11-18 22:53                                         ` Sven Dowideit
2003-11-19  0:24                                         ` Andrew Walrond
2003-11-19  0:38                                           ` Daniel Jacobowitz
2003-11-19 10:26                                             ` Andrew Walrond
2003-11-19  0:49                                           ` Larry McVoy
2003-11-19 10:45                                             ` Andrew Walrond
2003-11-18 18:42                                       ` Timothy Miller
2003-11-14 16:35                         ` Davide Libenzi
2003-11-14 16:48                           ` Larry McVoy
2003-11-14 17:03                             ` Davide Libenzi
2003-11-14 17:04                               ` Larry McVoy
2003-11-14 17:08                                 ` Davide Libenzi
2003-11-14 17:10                                   ` Larry McVoy
2003-11-16  4:57                                     ` H. Peter Anvin
2003-11-13 21:54                     ` Eli Carter
2003-11-13 23:32                 ` Daniel Egger
2003-11-14  9:56                   ` Nick Piggin
2003-11-14 11:38                     ` Daniel Egger
2003-11-15  3:02                       ` Nick Piggin
2003-11-15  3:22                         ` Linus Torvalds
2003-11-15  3:41                           ` Davide Libenzi
2003-11-15  3:49                             ` Linus Torvalds
2003-11-15  4:04                               ` Davide Libenzi
2003-11-15 21:09                         ` Daniel Egger
2003-11-18  9:59                 ` Pavel Machek
2003-11-18 15:01                   ` Larry McVoy
2003-11-13  0:45           ` Ryan Anderson
2003-11-13 12:59 Samium Gromoff
2003-11-13 14:44 ` Jan Harkes
2003-11-15  1:06 Carl-Daniel Hailfinger
2003-11-15  1:09 ` H. Peter Anvin
2003-11-15 10:53   ` Frank Cusack
     [not found] <fa.gj5f2rq.1u42v9u@ifi.uio.no>
     [not found] ` <fa.d7qik9h.1q644ip@ifi.uio.no>
2003-11-17  0:49   ` walt
     [not found] <QHxm.193.21@gated-at.bofh.it>
     [not found] ` <ROZW.3X0.17@gated-at.bofh.it>
     [not found]   ` <RPt5.4TS.9@gated-at.bofh.it>
     [not found]     ` <RQ5t.69U.7@gated-at.bofh.it>
     [not found]       ` <RQf8.6tb.9@gated-at.bofh.it>
     [not found]         ` <Snut.2iY.7@gated-at.bofh.it>
     [not found]           ` <Tg7E.7ST.11@gated-at.bofh.it>
     [not found]             ` <TiVJ.4ko.11@gated-at.bofh.it>
     [not found]               ` <Tj5w.4yi.25@gated-at.bofh.it>
2003-11-18 19:38                 ` Pascal Schmidt
2003-11-19 14:49                   ` Larry McVoy

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=20031111150050.GD1649@x30.random \
    --to=andrea@suse.de \
    --cc=davidel@xmailserver.org \
    --cc=jw@pegasys.ws \
    --cc=linux-kernel@vger.kernel.org \
    /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).