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. > Also list the i-nodes that are in use or used earlier? > > dd or a few lines of python should get you what you're looking for. You probably want to start from the superblock, go to the inode table and list inodes which have no links. -Arun
_______________________________________________ bsd-india mailing list [email protected] http://www.bsd-india.org/mailman/listinfo/bsd-india
