]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh: corrected usage comment of find_mp_fstype()
authorHarald Hoyer <harald@redhat.com>
Thu, 26 Jul 2012 15:05:24 +0000 (17:05 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 26 Jul 2012 15:05:24 +0000 (17:05 +0200)
dracut-functions.sh

index 03323511e695cd680db645ae77a5eb4f886ed45a..df450ef856f1b34ab7708339ab0189e4c0b44cb1 100755 (executable)
@@ -357,13 +357,13 @@ find_dev_fstype() {
     return 1
 }
 
-# find_dev_fstype <device>
-# Echo the filesystem type for a given device.
+# find_mp_fstype <mountpoint>
+# Echo the filesystem type for a given mountpoint.
 # /proc/self/mountinfo is taken as the primary source of information
 # and /etc/fstab is used as a fallback.
 # No newline is appended!
 # Example:
-# $ find_dev_fstype /dev/sda2;echo
+# $ find_mp_fstype /;echo
 # ext4
 find_mp_fstype() {
     local _x _mpt _majmin _dev _fs _maj _min