support Deflate64 compression method (was "zip64 support")

Issue #58 open
Former user created an issue

Looks like fuse-zip is unable to work with zip64 archives:

#!

fuse-zip -d -r test.zip FUZE 
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.29
flags=0x01fffffb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 2, success, outsize: 40
unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 27252
getattr /
   unique: 4, success, outsize: 120
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 27252
statfs /
   unique: 6, success, outsize: 96
unique: 8, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 27252
statfs /
   unique: 8, success, outsize: 96
unique: 10, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 27252
statfs /
   unique: 10, success, outsize: 96
unique: 12, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 27252
statfs /
   unique: 12, success, outsize: 96
unique: 14, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 27252
access / 01
   unique: 14, success, outsize: 16
unique: 16, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 27254
access / 01
   unique: 16, success, outsize: 16
unique: 18, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 27252
opendir flags: 0x18800 /
   opendir[0] flags: 0x18800 /
   unique: 18, success, outsize: 32
unique: 20, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 27252
readdir[0] from 0
   unique: 20, success, outsize: 112
unique: 22, opcode: LOOKUP (1), nodeid: 1, insize: 49, pid: 27252
LOOKUP /test.txt
getattr /test.txt
   NODEID: 2
   unique: 22, success, outsize: 144
unique: 24, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 27252
   unique: 24, success, outsize: 16
unique: 26, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0
releasedir[0] flags: 0x0
   unique: 26, success, outsize: 16
unique: 28, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 27252
statfs /
   unique: 28, success, outsize: 96
unique: 30, opcode: LOOKUP (1), nodeid: 1, insize: 49, pid: 27252
LOOKUP /test.txt
getattr /test.txt
   NODEID: 2
   unique: 30, success, outsize: 144
unique: 32, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 27622
getattr /
   unique: 32, success, outsize: 120
unique: 34, opcode: OPEN (14), nodeid: 2, insize: 48, pid: 27623
open flags: 0x8800 /test.txt
   unique: 34, error: -5 (Input/output error), outsize: 16
unique: 36, opcode: ACCESS (34), nodeid: 2, insize: 48, pid: 27623
access /test.txt 01
   unique: 36, success, outsize: 16
unique: 38, opcode: OPEN (14), nodeid: 2, insize: 48, pid: 27252
open flags: 0x8800 /test.txt
   unique: 38, error: -5 (Input/output error), outsize: 16

I'm using fuse-zip 0.6.0 and libzip 1.5.2

Comments (6)

  1. Alexander Galanin repo owner

    From syslog:

    Jun 13 22:40:33 monolith fuse-zip[25524]: Compression method not supported
    

    Seems that this issue is related to a compression method not supported by libzip.

    I will look deeper into this file at the weekend.

  2. Log in to comment