Blame 0063-dracut-functions-get_maj_min-major-and-minor-was-swa.patch
|
Harald Hoyer |
feffea |
From 74132a10f35685a05a728d598d4e7f9905b3e35b Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
feffea |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
feffea |
Date: Mon, 23 Jan 2012 13:50:05 +0100
|
|
Harald Hoyer |
feffea |
Subject: [PATCH] dracut-functions: get_maj_min() major and minor was swapped
|
|
Harald Hoyer |
feffea |
|
|
Harald Hoyer |
feffea |
---
|
|
Harald Hoyer |
feffea |
dracut-functions | 2 +-
|
|
Harald Hoyer |
feffea |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
feffea |
|
|
Harald Hoyer |
feffea |
diff --git a/dracut-functions b/dracut-functions
|
|
Harald Hoyer |
feffea |
index 3852478..e04b16d 100755
|
|
Harald Hoyer |
feffea |
--- a/dracut-functions
|
|
Harald Hoyer |
feffea |
+++ b/dracut-functions
|
|
Harald Hoyer |
feffea |
@@ -180,7 +180,7 @@ get_fs_uuid() (
|
|
Harald Hoyer |
feffea |
|
|
Harald Hoyer |
feffea |
get_maj_min() {
|
|
Harald Hoyer |
feffea |
local _dev
|
|
Harald Hoyer |
feffea |
- _dev=$(stat -L -c '$((0x%T)):$((0x%t))' "$1" 2>/dev/null)
|
|
Harald Hoyer |
feffea |
+ _dev=$(stat -L -c '$((0x%t)):$((0x%T))' "$1" 2>/dev/null)
|
|
Harald Hoyer |
feffea |
_dev=$(eval "echo $_dev")
|
|
Harald Hoyer |
feffea |
echo $_dev
|
|
Harald Hoyer |
feffea |
}
|