migurus@yahoo.com (migur) expounded in
news:a03d8dd9.0404121749.32d8a60c@posting.google.c om:
> This is 5.0.5 box.
> I am trying to accumulate multiple files in a single tar file.
> Files are added daily, so I would need to add them to tar file,
> uniqness of the file names is guarantied.
>
> Here is simple example showing the problem I am running into:
>
>
> $ tar ncvf A x*
> seek = 0K a x1 548K
> seek = 548K a x2 252K
>
> $ tar nuvf A y*
> tar: buffer size = 10K
> seek = 800K a y1 594K
> seek = 1395K a y2 594K
> seek = 1989K a y3 594K
>
> $ tar tvf A
> tar: blocksize = 20
> rw-rw-r--243/50 560131 Dec 18 13:29 2002 x1
> rw-rw-r--243/50 257334 Dec 18 14:55 2002 x2
> tar: directory checksum error
>
> $ l
> total 10374
> -rw-rw-r-- 1 haa group 2637824 Apr 12 18:22 A
> -rw-rw-r-- 1 haa group 560131 Dec 18 2002 x1
> -rw-rw-r-- 1 haa group 257334 Dec 18 2002 x2
> -rw-rw-r-- 1 haa group 608255 Dec 18 2002 y1
> -rw-rw-r-- 1 haa group 608226 Dec 18 2002 y2
> -rw-rw-r-- 1 haa group 607769 Dec 18 2002 y3
>
> I tried tar "r" instead of "u" with the same outcome: resulting in a
> tar file with directory checksum error.
>
> Any ideas how to do it properly will be appreciated,
> Regards,
> Michael.
One other thing. If all else fails, you could give gtar (GNU tar) a try.
The version I have seemed to work OK doing the same commands. Note that
gtar, at least the version I have, doesn't support the "n" ("not a tape
device") option and I couldn't find a similar option, but it doesn't seem
to need it.
I'm not sure where I got gtar, but it was probably from ftp.sco.com, which
could be a problem since the server seems to be in a state of flux right
now. I imagine you can find it somewhere else on the 'Net. Or I could
email you a copy of the gtar installation file I have. If nothing else,
there seems to be a gtar executable (with no documentation, etc.) at
ftp://stage.caldera.com/skunkware/osr5/bin/gtar .
James