Package: file / 1:5.22+15-2

0010-mdadm.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Author: Russell Coker <russell@coker.com.au>
Description: Adding new magics for Linux Software RAID (Closes: #663454).

--- a/magic/Magdir/linux
+++ b/magic/Magdir/linux
@@ -417,6 +417,28 @@
 0		lelong		0xde020109	locale archive
 >24		lelong		x		%d strings
 
+# Linux Software RAID (mdadm)
+# Russell Coker <russell@coker.com.au>
+4096	lelong	0xa92b4efc	Linux Software RAID
+>4100	lelong	x		version 1.2 (%d)
+>4112	belong	x		UUID=%8x:
+>4116	belong	x		\b%8x:
+>4120	belong	x		\b%8x:
+>4124	belong	x		\b%8x
+>4128	string	x		name=%s
+>4168	lelong	x		level=%d
+>4188	lelong	x		disks=%d
+
+0	lelong	0xa92b4efc	Linux Software RAID
+>4	lelong	x		version 1.1 (%d)
+>16	belong	x		UUID=%8x:
+>20	belong	x		\b%8x:
+>24	belong	x		\b%8x:
+>28	belong	x		\b%8x
+>32	string	x		name=%s
+>72	lelong	x		level=%d
+>92	lelong	x		disks=%d
+
 # Summary:     Database file for mlocate
 # Description: A database file as used by mlocate, a fast implementation
 #              of locate/updatedb. It uses merging to reuse the existing