how to detect if a device has a file system linux code example Example: linux see file system type fsck -N /dev/sd**