Blame 0049-dracut-functions.sh-corrected-usage-comment-of-find_.patch

Harald Hoyer 12f6cc
From ec5e5ae27a986f6bc3d273ba037533b72ab069e9 Mon Sep 17 00:00:00 2001
Harald Hoyer 12f6cc
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 12f6cc
Date: Thu, 26 Jul 2012 17:05:24 +0200
Harald Hoyer 12f6cc
Subject: [PATCH] dracut-functions.sh: corrected usage comment of
Harald Hoyer 12f6cc
 find_mp_fstype()
Harald Hoyer 12f6cc
Harald Hoyer 12f6cc
---
Harald Hoyer 12f6cc
 dracut-functions.sh | 6 +++---
Harald Hoyer 12f6cc
 1 file changed, 3 insertions(+), 3 deletions(-)
Harald Hoyer 12f6cc
Harald Hoyer 12f6cc
diff --git a/dracut-functions.sh b/dracut-functions.sh
Harald Hoyer 12f6cc
index 0332351..df450ef 100755
Harald Hoyer 12f6cc
--- a/dracut-functions.sh
Harald Hoyer 12f6cc
+++ b/dracut-functions.sh
Harald Hoyer 12f6cc
@@ -357,13 +357,13 @@ find_dev_fstype() {
Harald Hoyer 12f6cc
     return 1
Harald Hoyer 12f6cc
 }
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
-# find_dev_fstype <device>
Harald Hoyer 12f6cc
-# Echo the filesystem type for a given device.
Harald Hoyer 12f6cc
+# find_mp_fstype <mountpoint>
Harald Hoyer 12f6cc
+# Echo the filesystem type for a given mountpoint.
Harald Hoyer 12f6cc
 # /proc/self/mountinfo is taken as the primary source of information
Harald Hoyer 12f6cc
 # and /etc/fstab is used as a fallback.
Harald Hoyer 12f6cc
 # No newline is appended!
Harald Hoyer 12f6cc
 # Example:
Harald Hoyer 12f6cc
-# $ find_dev_fstype /dev/sda2;echo
Harald Hoyer 12f6cc
+# $ find_mp_fstype /;echo
Harald Hoyer 12f6cc
 # ext4
Harald Hoyer 12f6cc
 find_mp_fstype() {
Harald Hoyer 12f6cc
     local _x _mpt _majmin _dev _fs _maj _min