I'm working on writing /etc/magic entries for ZFS.  Below is the start that 
I've made.  It uses XDR for the header which has pascal strings with a 4 byte 
big-endian length.  I thought that should be "pstring/L" but the following 
pstring types are the ones that worked.

Also running "file -s -k /dev/sd?" doesn't work, is the -k option expected to 
work on a device node?

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

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to