Package: file
Version: 1:5.19-1
Severity: wishlist
Tags: patch

The below /etc/magic entry allows recognition of devices used for a ZFS
pool.  This isn't a great magic entry but it's a lot better than nothing.
Please put this magic entry in the Debian package if after a reasonable period
no-one else has written a better one.

https://maczfs.googlecode.com/files/ZFSOnDiskFormat.pdf

Page 8 and 9 of the above URL have what minimal specs I could find.

# think all these pstrings should be pstring/L, but I use what works
0x4010          belong  0x20
>0x4014         pstring/l       version         ZFS store version
>>0x4020        belong          8
>>>0x4024       belong          x               %d
>>>0x403a       pstring/h       name            
>>>>0x4048      pstring/l       x               pool name %s

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmagic1 depends on:
ii  libc6              2.19-4
ii  multiarch-support  2.19-4
ii  zlib1g             1:1.2.8.dfsg-1

libmagic1 recommends no packages.

Versions of packages libmagic1 suggests:
ii  file  1:5.19-1

Versions of packages file depends on:
ii  libc6   2.19-4
ii  zlib1g  1:1.2.8.dfsg-1


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to