1

How can I find the file system type of USB drive without using computer.

Drive is attached to Android phone and I can see the files in it.

I want to know if it is extFAT etc

It is a dual 128gb sandisk ultra USB drive

1

You can use mount command in Terminal Emulator app. In the output, look for the line starting with /dev/block/vold. That line would have the filesystem type next to the word type. This would help as long as the USB drive's filesystem is mounted by Android.

If you have root access, you can issue the command blkid. This works, regardless, whether the USB drive's filesystem is mounted or not.

  • 1
    Also by reading magic number: file -s /dev/block/vold/* – Irfan Latif Mar 23 at 9:13
  • @IrfanLatif inbuilt find command doesn't seem to have to that flag available. Only -h and -L (both symlinks related) are available. – Firelord Mar 23 at 13:04
  • Yes, need to use Termux. toybox file also doesn't look for a magic database file, only a few in-built magics. toybox blkid does have magic values of filesystems. – Irfan Latif Mar 23 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.