How to determine a partitions filesystem and inodes

Hey guys how do you determine what kind of Filesystem(ext3) does a particular partition has.

Also how do you determine how many inodes it has and how my is used and free.

A files inode number can easily be found by using ls command.
ie. ls -i /etc/passwd

More inode info can be obtained by using df. df -i, --inodes list inode information (instead of block usage) --iused gives a used inode countTo see a count of inodes for a mount (ufs)-
/usr/bin/df -F ufs -o i

Info on filesystems used for partitions can be found using fdisk -l
You can also find out what type of file systems currently mounted with the mount command.

sbn,

You can also see the use the information at /etc/fstab for file system information.

Cheers

Tnx :slight_smile: