Blame SOURCES/file-5.33-ppc-swap.patch

fd8bad
From ed6062995ae60d6772f2dabc39e03cbf28ee7343 Mon Sep 17 00:00:00 2001
fd8bad
From: Christos Zoulas <christos@zoulas.com>
fd8bad
Date: Mon, 16 Jul 2018 12:32:08 +0000
fd8bad
Subject: [PATCH] more info for ppc swapspace (Kamil Dudka)
fd8bad
fd8bad
Upstream-commit: 65f9c7053548df8945df600c07123c9151531ee6
fd8bad
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
fd8bad
---
fd8bad
 magic/Magdir/linux | 10 ++++++++++
fd8bad
 1 file changed, 10 insertions(+)
fd8bad
fd8bad
diff --git a/magic/Magdir/linux b/magic/Magdir/linux
fd8bad
index 0630a8a..11e9237 100644
fd8bad
--- a/magic/Magdir/linux
fd8bad
+++ b/magic/Magdir/linux
fd8bad
@@ -94,6 +94,16 @@
fd8bad
 # From Daniel Novotny <dnovotny@redhat.com>
fd8bad
 # swap file for PowerPC
fd8bad
 65526	string		SWAPSPACE2	Linux/ppc swap file
fd8bad
+>0x400	long		x		version %d,
fd8bad
+>0x404	long		x		size %d pages,
fd8bad
+>1052	string		\0		no label,
fd8bad
+>1052	string		>\0		LABEL=%s,
fd8bad
+>0x40c	belong		x		UUID=%08x
fd8bad
+>0x410	beshort		x		\b-%04x
fd8bad
+>0x412	beshort		x		\b-%04x
fd8bad
+>0x414	beshort		x		\b-%04x
fd8bad
+>0x416	belong		x		\b-%08x
fd8bad
+>0x41a	beshort		x		\b%04x
fd8bad
 16374	string		SWAPSPACE2	Linux/ia64 swap file
fd8bad
 #
fd8bad
 # Linux kernel boot images, from Albert Cahalan <acahalan@cs.uml.edu>
fd8bad
-- 
fd8bad
2.14.4
fd8bad