How to determine the type of file system on an SD card

How to determine the type of file system on the SD card (this card has not yet been mounted. I need to determine the type of file system so that I can mount the SDCard through the program according to the type of file system) Or from the terminal. For example, "mount -t ext3 / dev / sdc1 / mnt"

+4
source share
1 answer

You can do file -s /dev/sdc1 and recognize the file system data.

And you can do mount -t auto /dev/sdc1 /mnt to get it recognized.

+3
source

All Articles