Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I, in Ubuntu, determine what the formatting (e.g FAT etc.) of an SD card is?

share|improve this question

Use the fdisk /dev/whicheveryourdevice is.

You can determine which device your SD card is by running dmesg.

share|improve this answer

If it's mounted, you can try using the mount command to see what the format is.

If not, you can try running gparted (or disk utility if that's in your menus) to have it tell you the partition's format.

Just be careful not to change the partitions, only view the information. Gparted makes it quite explicit (you have to "apply" potential changes in order for anything to happen).

share|improve this answer

You must log in to answer this question.