Results 1 to 3 of 3
Hi,
Plz suggest how i can capture the inode count in the file system and how i can put that count in to the variable for further operations ....
Its ...
- 02-10-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
C prgram to capture 'inode' count in file system
Hi,
Plz suggest how i can capture the inode count in the file system and how i can put that count in to the variable for further operations ....
Its very urgent .....request yout ot send the response...
- 02-10-2009 #2
If you are using ext2/ext3 file system,then get super block details from offset 1024 and from there get the free/used inode count on your machine.
Check out ext3/ext2 File system tools like debugfs or ext2ed or e2fsprogs or giis.- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 02-11-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
thanks for the reply.
I need to capture it in variable , eg : inode_count = 6 were free. how i can do it from c program


Reply With Quote