xref: /freebsd/contrib/file/magic/Magdir/pmem (revision 2e3f49888ec8851bafb22011533217487764fdb0)
1
2#------------------------------------------------------------------------------
3# $File: pmem,v 1.4 2021/04/26 15:56:00 christos Exp $
4# pmem: file(1) magic for Persistent Memory Development Kit pool files
5#
60	string		PMEM
7>4	string		POOLSET		Persistent Memory Poolset file
8>>11	search		REPLICA		with replica
9>4	regex		LOG|BLK|OBJ	Persistent Memory Pool file, type: %s,
10>>8	lelong		>0		version: %#x,
11>>12	lelong		x		compat: %#x,
12>>16	lelong		x		incompat: %#x,
13>>20	lelong		x		ro_compat: %#x,
14
15
16>>120	leqldate	x		crtime: %s,
17>>128	lequad		x		alignment_desc: %#016llx,
18
19>>136	clear		x
20>>136	byte		2		machine_class: 64-bit,
21>>136	default		x		machine_class: unknown
22>>>136	byte		x		(%#d),
23
24>>137	clear		x
25>>137	byte		1		data: little-endian,
26>>137	byte		2		data: big-endian,
27>>137	default		x		data: unknown
28>>>137	byte		x		(%#d),
29
30>>138	byte		!0		reserved[0]: %d,
31>>139	byte		!0		reserved[1]: %d,
32>>140	byte		!0		reserved[2]: %d,
33>>141	byte		!0		reserved[3]: %d,
34
35>>142	clear		x
36>>142	leshort		62		machine: x86_64
37>>142	leshort		183		machine: aarch64
38>>142	default		x		machine: unknown
39>>>142	leshort		x		(%#d)
40
41>4	string		BLK
42>>4096	lelong		x		\b, blk.bsize: %d
43
44>4	string		OBJ
45>>4096	string		>0		\b, obj.layout: '%s'
46>>4096	string		<0		\b, obj.layout: NULL
47