I encounter problem adding directory to archive with tar, version 1.26 on FreeBSD7/amd64:

$ gtar --create --file=test.tar test

gtar: test/: Cannot savedir: Invalid argument
Segmentation fault (core dumped)

Adding a single file to archive works fine as well as running the same command on 32-bit machine.

Some output from ktrace/kdump:

 33156 gtar     CALL  getdirentries(0,0,0,0x710068)
 33156 gtar     RET   getdirentries -1 errno 22 Invalid argument



Thans in advance,
Maciej

Reply via email to