Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Nov 16 19:06:50 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id mAH36ojE028922 for ; Sun, 16 Nov 2008 19:06:50 -0800 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mAH33Bgi016325 for ; Sun, 16 Nov 2008 19:03:11 -0800 Message-Id: <200811170303.mAH33Bgi016325@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Confusion with nonce Date: Sun, 16 Nov 2008 19:03:11 -0800 From: Bill Cheng Someone wrote; > The spec defines nonce as: > A nonce can be used to distinguish different versions of the same file. > (If a file with a certain SHA1 value is created by a user and, at a > later time, the same file with the same SHA1 value is created by the > same user or another user, these 2 files will have different nonces.) > *Therefore, we consider that file Y is a copy of file X if X and Y have > identical FileName, SHA1, and Nonce (everything else about X and Y are > assumed to be identical).* > > I am not very clear about the line in bold. Does it mean that if a node > sees a file with the same filename, sha1 and nonce as another file that > is stored in the node, it has to discard that file? Right ? Correct! -- Bill Cheng // bill.cheng@usc.edu