probe for loop module when looking for loopfs support

This commit is contained in:
Steve Lord
2002-06-02 13:20:48 +00:00
parent eae391e9ef
commit 4b7e9da6b3
+1 -1
View File
@@ -387,6 +387,7 @@ _require_logdev()
#
_require_loop()
{
modprobe loop
if grep loop /proc/devices >/dev/null 2>&1
then
:
@@ -395,7 +396,6 @@ _require_loop()
fi
}
# check that a FS is mounted as XFS. if so, return mount point
#
_xfs_mounted()