use a grep instead of df -T to work on busybox

The `df -T` is not working with busybox so grep filesystem that begins with /dev instead of checking for filesystem type
Remove trailing white spaces too