use file instead of mount command to check the filesystem

The option --guess-fstype of the utility *mount* has been removed in
recent versions of util-linux
use blkid to check fs type
bugfix in regex + adapted rspec