How do you determine what Linux file system your using?

If you have a question about a file system (for example xfs, reiserfs, ...)

Moderator: feffer

Post Reply
bearsmith

How do you determine what Linux file system your using?

Post by bearsmith » Sat Dec 11, 2010 3:51 am

When you log onto a Linux system and get to the command prompt, how can you determine which of the many file systems supported in Linux you are using? Is there a command that will identify it?

Hartmut
Posts: 26
Joined: Thu Aug 26, 2010 10:06 am

Re: How do you determine what Linux file system your using?

Post by Hartmut » Tue Dec 21, 2010 1:26 pm

bearsmith wrote:When you log onto a Linux system and get to the command prompt, how can you determine which of the many file systems supported in Linux you are using? Is there a command that will identify it?
Type in

Code: Select all

mount
This will give you something like:

Code: Select all

/dev/sda3 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /boot type ext3 (rw,acl,user_xattr)
/dev/sda4 on /home type ext4 (rw,acl,user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
There you can see the "type ext3" (for example)

Post Reply