[OpenAFS-devel] status of src/tests

Alberto Mancini mancini@math.unifi.it
Tue, 3 Jul 2007 00:38:54 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---644446174-1945921146-1183415934=:9797
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi,
this is the patch for dumpscan-1.2 that fixes some annoying problems in 
compiling on Linux (debian/libopenafs-dev 1.4.2-6).

Sorry in case openafs-devel is not the right place where to post this 
patch.

Ciao,
 			Alberto.


> I'll be happy to accept patches to improve the build system.
>
>
>>  but does not recognize my dumps
>>
>>  ----------------------------------------------------------------------
>>  afsdump_dirlist: Bad magic number in AFS volume dump Invalid page tag
>>  (41235) in page 0
>>  *** 1 errors
>>  *** FAILED: Bad magic number in AFS volume dump
>>  ----------------------------------------------------------------------
>>  My mistake ?
>
> afsdump_dirlist operates on a file containing a directory as it appears on 
> the wire (and, coincidentally, on the fileserver and in the cache).  It does 
> not operate on whole dumps.  To get a listing of all the directories in a 
> volume dump, try something like
>
> afsdump_scan -Pvd <file>
>
> -- Jeff
>
>
---644446174-1945921146-1183415934=:9797
Content-Type: TEXT/plain; charset=US-ASCII; name=compile-linux.diff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.64.0707030038540.9797@ossigeno.math.unifi.it>
Content-Description: 
Content-Disposition: attachment; filename=compile-linux.diff

ZGlmZiAtcnUgZHVtcHNjYW4tMS4yLW9yaWcvTWFrZWZpbGUgZHVtcHNjYW4t
MS4yL01ha2VmaWxlDQotLS0gZHVtcHNjYW4tMS4yLW9yaWcvTWFrZWZpbGUJ
MjAwNi0wNS0zMCAwMDoxODo0Ny4wMDAwMDAwMDAgKzAyMDANCisrKyBkdW1w
c2Nhbi0xLjIvTWFrZWZpbGUJMjAwNy0wNy0wMiAyMzo1Nzo1Mi4wMDAwMDAw
MDAgKzAyMDANCkBAIC0zMSwyNCArMzEsMjcgQEANCiAjIE9uIExpbnV4Og0K
IGlmZXEg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