Tuesday, February 15, 2011

Unix file system inode value

Unix file system inode values can find like this.

+$ df -F ufs -o i
Filesystem iused ifree %iused Mounted on
/dev/dsk/c0t0d0s0 65505 930399 7% /
/dev/dsk/c0t0d0s3 11978 488886 2% /var
/dev/dsk/c0t0d0s7 565 6499019 0% /local
/dev/dsk/c0t0d0s4 4 332988 0% /var/tmp
+$

Unix files inode valuse can find like this.

+$ ls -i /etc/passwd
1670 /etc/passwd
+$

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.