On Wed, Sep 30, 2009 at 9:05 PM, Arun Sharma <[email protected]> wrote:
> On Tue, Sep 29, 2009 at 11:04 PM, Siju George <[email protected]> wrote:
>>
>> Hi,
>>
>> How is it possible for me to read the contents on i-nodes in a file
>> system?
>
> Why not use cat? :)
> On FreeBSD 8.0-RC1
> # stat -f %i httpd.conf
> 688686
> Instead of using some command that dumps inodeĀ 688686, I might as well use
> cat on httpd.conf. Of course this doesn't work for inodes that are not
> linked to any file.
>

Thanks Aditya and Arun for the replies :-)

Cat gives the content of the file right?
What I want to do is see the contents of the inodes. i.e to which
diskblocks they point to.

Thanks again

--Siju
_______________________________________________
bsd-india mailing list
[email protected]
http://www.bsd-india.org/mailman/listinfo/bsd-india

Reply via email to