File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -978,23 +978,6 @@ Filesystem_monitor()
978978#
979979Filesystem_validate_all ()
980980{
981- # Check if the $FSTYPE is workable
982- # NOTE: Without inserting the $FSTYPE module, this step may be imprecise
983- # TODO: This is Linux specific crap.
984- if [ ! -z " $FSTYPE " -a " $FSTYPE " != none ]; then
985- cut -f2 /proc/filesystems | grep " ^${FSTYPE} $" > /dev/null 2>&1
986- if [ $? -ne 0 ]; then
987- modpath=/lib/modules/$( uname -r)
988- moddep=$modpath /modules.dep
989- # Do we have $FSTYPE in modules.dep?
990- cut -d' ' -f1 $moddep \
991- | grep " ^${modpath} .*${FSTYPE} \.k\?o:$" > /dev/null 2>&1
992- if [ $? -ne 0 ]; then
993- ocf_log info " It seems we do not have $FSTYPE support"
994- fi
995- fi
996- fi
997-
998981 # If we are supposed to do monitoring with status files, then
999982 # we need a utility to write in O_DIRECT mode.
1000983 if [ $OCF_CHECK_LEVEL -gt 0 ]; then
You can’t perform that action at this time.
0 commit comments