Is there a command that will show which file system (ext3, ext4, FAT32, ...) the various partitions and disks are using?
Similar to how
sudo fdisk -l lists information about disks and partitions?
It's somewhat overkill, but there's always
EDIT: This doesn't seem to work if something on the disk is mounted already, though (I just tried it on my running system).
Theoretically, if you just want it to print the partition table, you can use a command like this (from the man page):
But again I can't try it right now; not sure if it'll tell you the filesystems if it's not doing a scan.
Found a solution in ubuntuforums:
External USB disk:
Mount without specifying filesystem (commenting out any entries in fstab) works as well:
Will give you the filesystem of any attached devices, whether they are mounted or not.
It also gives you other useful information for creating the needed line for your fstab file such as the UUID.