How to know what filesystem is on my ubuntu and whether dir_index is enabled?

Peng Yu pengyu.ut at gmail.com
Tue Jan 26 02:19:39 UTC 2010


On Mon, Jan 25, 2010 at 7:48 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 01/25/2010 03:28 PM, Peng Yu wrote:
>> Could somebody let me know how to figure out what filesystem is on my
>> ubuntu machine? And how to check whether dir_index is enabled?
>>
>
> $ cat /etc/fstab
>
> will generally provide you with the filesystem information. Example:
>
> $ cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> #  -- This file has been automaticly generated by ntfs-config --
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
>
> proc /proc proc defaults 0 0
> # Entry for /dev/sdb1 :
> UUID=c<snipped> / ext4 defaults,errors=remount-ro 0 1
>
> From the above you can see that the filesystem is ext4.
>
> Another cli method is to use parted:
>
> $ sudo parted -l
>
> For a GUI, use gparted.

There are xfs and ext3 filesystems on my machine. How to check if
dir_index is enabled?




More information about the ubuntu-users mailing list