
28 Jun
2014
28 Jun
'14
10:32 a.m.
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/
4102
Age (days ago)
4102
Last active (days ago)
0 comments
1 participants
participants (1)
-
Russell Coker