[OpenAFS] Volume stays offline

Frank Burkhardt fbo2@gmx.net
Sat, 20 Dec 2003 14:25:18 +0100


On Thu, Dec 18, 2003 at 12:08:06PM +0100, Hartmut Reuter wrote:
> Apply this patch to dumptool.c, then it schould work also with big dump 
> files.
The patched dumptool is able to open the 9G-dumpfile correctly.
"ls" shows all files as expected but "cp" doesn't:

  $ dumptool c.movies.6.dump
  > cp "Carrie (1976).avi" /SCR/x
  Seek failed: Invalid argument

The fseek-call within CopyFile() seems to be
called with a variable which isn't 64 bits wide (and contains -1
when used as fseek-argument).

It this a problem caused by my compiler (gcc 2.95.4)/libraries (glibc 2.2.5)?