From: Harald Hoyer Date: Thu, 26 Jul 2012 15:05:24 +0000 (+0200) Subject: dracut-functions.sh: corrected usage comment of find_mp_fstype() X-Git-Tag: 023~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec5e5ae27a986f6bc3d273ba037533b72ab069e9;p=thirdparty%2Fdracut.git dracut-functions.sh: corrected usage comment of find_mp_fstype() --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 03323511e..df450ef85 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -357,13 +357,13 @@ find_dev_fstype() { return 1 } -# find_dev_fstype -# Echo the filesystem type for a given device. +# find_mp_fstype +# 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