Operating System - Linux
1825789 Members
2078 Online
109687 Solutions
New Discussion

inode details for ReiserFS

 
Arunvijai_4
Honored Contributor

inode details for ReiserFS

Hello All,

What is the best for finding inode details of a ReiserFS ? I tried # df -i nothing was good.

# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda2 0 0 0 - /

Thanks,
Arun
"A ship in the harbor is safe, but that is not what ships are built for"
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: inode details for ReiserFS

Reiserfs has no fixed predefined number of inodes on the file system. Hence, field f_files of struct statfs (see man 2 statfs) is not
applicable to this file system. Man page explicitly says:

Fields that are undefined for a particular file system are set to 0.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Senthil Prabu.S_1
Trusted Contributor

Re: inode details for ReiserFS

Hi Arun,
ReiserFS doesnot support displaying inode by default. Even I was wondering why?.

So you have to apply a patch to do this, I guess. Not sure...:-)

May be google can help you better.

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Senthil Prabu.S_1
Trusted Contributor

Re: inode details for ReiserFS

Hi again Arun,
I mean ReiserFS does not support inode in sense, it donto display the inode attribute while using df command.

My SUSE Enterprise Server 9 runs with 3.6.13 Reiser. So I am also not able to see the indoe details with df.

I guess Reiser4 will have this inode attribue. It is available with 2.4 kernel.


HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Senthil Prabu.S_1
Trusted Contributor

Re: inode details for ReiserFS

Hi Arun,
Check this link, you could find a patch for ReiserFS to enable indoe attributes.

http://www.ussg.iu.edu/hypermail/linux/kernel/0602.1/1377.html

This should solve your problem..:-)


HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Franklin Abud
Occasional Advisor

Re: inode details for ReiserFS

try using:

ls -i

Frank