How can I check with what file-format an usb-stick was formatted?

(... in order to correctly mount it with mount -t <fileformat> /dev/sdb1 /home/mountpoint)

Thanks vonSpotz

  • 1
    Try command "sudo blkid" Feb 13, 2021 at 19:12

1 Answer 1


You could use fdisk -l to get info on all mounted disks

  • Hello Akhil,thanks for your answer!! For the USB-Stick of mine which is formatted with FAT32 it does show that under the column "type." In the column however of my usb-stick formatted in ext2 it only shows type: Linux. Any idea?
    – von spotz
    Feb 13, 2021 at 19:31
  • Yes up arrow in the shell and change the vfat to ext2 in the mount command that just failed or vice versa. I would think you are not using dozens of file systems on those things so should be easy to narrow it down to your choices to use.
    – user1179897
    Feb 14, 2021 at 2:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .