Return-Path: william@bourbon.usc.edu
Delivery-Date: Thu Apr 19 10:03:48 2007
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on merlot.usc.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
	NO_REAL_NAME autolearn=ham version=3.1.3
Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75])
	by merlot.usc.edu (8.13.5/8.13.5) with ESMTP id l3JH3mJU026762
	for <cs551@merlot.usc.edu>; Thu, 19 Apr 2007 10:03:48 -0700
Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1])
	by bourbon.usc.edu (8.13.5/8.13.5) with ESMTP id l3JH3iTK029476
	for <cs551@merlot>; Thu, 19 Apr 2007 10:03:44 -0700
Message-Id: <200704191703.l3JH3iTK029476@bourbon.usc.edu>
To: cs551@merlot.usc.edu
Subject: Re: CS551 - Final Project - Get Response Query 
Date: Thu, 19 Apr 2007 10:03:44 -0700
From: william@bourbon.usc.edu

Someone wrote:

  > You said:
  > > In the mini-filesystem, you should always use the information
  > > in the original file metadata.  Therefore, it should be
  > > "Blondie.mp3".
  > 
  > Does this mean this is the name saved in the metadata file
  > while the file contents are saved as index.data where index
  > is an integer?

Yes.  If the metadata file is "#.meta" where # is an integer,
the corresponding file should be "#.data".  Once the metadata
of a file is created, it just gets copied around and never
modified.
--
Bill Cheng // bill.cheng@usc.edu <URL:http://merlot.usc.edu/william/usc/>



  ----- Original Message -----
  From: william@bourbon.usc.edu
  Date: Thursday, April 19, 2007 7:50 am
  Subject: Re: CS551 - Final Project - Get Response Query
  To: cs551@merlot.usc.edu
  
  > Someone wrote:
  > 
  >  > For the following the following scenario:
  >  >  
  >  > There is a file named "Blondie.mp3" in the servant network.
  >  >  
  >  > A user fires the user command "get 2 XYZ.mp3". Once the file 
  > reaches the
  >  > user's node (as a consequence of a successful GetResponse), it 
  > is stored as
  >  > XYZ.mp3 in the current working directory of the user.
  >  >  
  >  > Now, the node also has to store the file in its permanent 
  > area. In this
  >  > case, will the FileName be "Blondie.mp3" or "XYZ.mp3" (for the 
  > meta data)?
  >  > I'm asking because this will affect future searches by filename.
  > 
  > In the mini-filesystem, you should always use the information
  > in the original file metadata.  Therefore, it should be
  > "Blondie.mp3".
  > --
  > Bill Cheng // bill.cheng@usc.edu 
  > <URL:http://merlot.usc.edu/william/usc/>
