LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-27-2007, 07:08 AM   #1
Morpheus
Member
 
Registered: Dec 2002
Posts: 49

Rep: Reputation: 15
Question Getting INode information


Is there a command to get the Inode information for a particular filesystem ?
 
Old 04-27-2007, 07:38 AM   #2
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 731

Rep: Reputation: 75
Hi.

Using:
Code:
man -k filesystem
one of the items returned is:
Code:
stat (1)             - display file or filesystem status
See man stat for details. You can obtain specific pieces of information or you can use it like this:
Code:
% stat --filesystem /backup
  File: "/backup"
    ID: 0        Namelen: 255     Type: ext2/ext3
Blocks: Total: 44946845   Free: 40666215   Available: 38291005   Size: 1024
Inodes: Total: 11876352   Free: 11865468
cheers, makyo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding machine information and root information geletine Linux - Security 6 07-14-2006 08:57 AM
inode ahmed gamal Slackware 2 04-02-2006 09:34 AM
Information needed about the use of the reserved field in the inode structure calsoft_pg Linux - Software 1 12-23-2005 11:27 PM
inode muthiahm Linux - Newbie 2 06-11-2004 05:00 PM
about inode eshwar_ind Programming 3 04-24-2004 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration