Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to troubleshoot why Ubuntu won't save my settings. Is there a way to find out what filesystem my partitions are using?

share|improve this question
    
Try sudo blkid -o list > ~/myFileSytems on a terminal to found out. Then open the file myFileSystems with a text editor (the file should be in your home folder). But I consider that is not your main issue, you might want to provide more info in your question. –  edwin Jun 17 '13 at 1:44
add comment

5 Answers

There are a number of ways to do this, from the command line (Ctrl+Alt+t),

The command df -T will print your filesystem types, as below:

~$ df -T
Filesystem     Type      1K-blocks       Used Available Use% Mounted on
/dev/sda1      ext4      190230236  102672812  77894244  57% /
udev           devtmpfs    1021128         12   1021116   1% /dev
tmpfs          tmpfs        412884        816    412068   1% /run
none           tmpfs          5120          0      5120   0% /run/lock
none           tmpfs       1032208       2584   1029624   1% /run/shm
cgroup         tmpfs       1032208          0   1032208   0% /sys/fs/cgroup
/dev/sdb1      fuseblk  1953480700 1141530424 811950276  59% /home/maggotbrain/storage

This article sums up nicely several other methods of obtaining this information.

Here are a couple of other examples that I use occasionally:

~$ mount | grep "^/dev"
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sdb1 on /home/maggotbrain/storage type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

~$ sudo file -sL /dev/sda1
/dev/sda1: Linux rev 1.0 ext4 filesystem data, UUID=b53ecdf7-5247-4d65-91a6-be9264c84dea (extents) (large files) (huge files)
share|improve this answer
add comment

In the Dash type Disk and open the disk utility application, which is called either Disk Utility in Ubuntu 12.04 and Ubuntu 12.10, or in Ubuntu 13.04 and Ubuntu 13.10 it is called Disks.

In the picture below you see the Disk Utility window with the 120 GB Hard Disk selected to display information about that disk. In the center pane in the Volumes section you can see that the first partition on that hard disk has been selected to display information about that partition. In the Volumes section you can also see the description Type: Ext4 which means that the partition is formatted as Ext4 which is the default Ubuntu filesystem format.

enter image description here

share|improve this answer
add comment

Try this in terminal:

sudo fdisk -l

Simply copy & paste the command into your terminal.

If I understand you correctly, this should show your drives.

share|improve this answer
2  
fdisk -l doesn't show the filesystem –  Gerald Schneider Jun 17 '13 at 7:19
add comment

A simple and good command

sudo blkid

It will list something like this:

/dev/sda1: LABEL="Windows" UUID="FA50DCB150DC763B" TYPE="ntfs" 
/dev/sda5: LABEL="40GBTWO" UUID="00A0CE7EA0CE7A24" TYPE="ntfs" 
/dev/sda6: UUID="7550252c-3da7-4cd9-8da3-71e9ba38e74a" TYPE="ext4" 
/dev/sda7: UUID="088fd084-a011-4896-aa93-c0caaad60620" TYPE="swap"

Where /dev/sda1 is the partition, LABEL is the given name to the partition, UUID is the Unique ID of the partiton which is quite useful to mount the hardisk using /etc/fstab, and TYPE is the file system.

I often use this command to get almost all the information about my hard drive and removal drive. Hope you too like it. :)

share|improve this answer
add comment

You can also use the lsblk command like this:

$ sudo lsblk -f

NAME        FSTYPE LABEL      MOUNTPOINT
sda                           
├─sda1      ntfs   OS         
├─sda2      ntfs   Data       
├─sda3                        
├─sda5      ext4              /
└─sda6      swap              [SWAP]
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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