echo " ext2-4"
}
-scan_extfs()
+do_extfs()
{
local fsblocksize
local fsblock
local fstype
local inode
+ echo "$device: ext2-4 filesystem detected" 1>&2
+
fstype="`file -s $device | sed -e 's/.*\(ext[0-9]\).*/\1/'`"
echo "fstype $fstype"
echo "blocktype journal?"
fi
) 3>&1
+
+ return 0
}
register_scanner "extfs"