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

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