Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-17-2006, 09:25 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 16

Rep: Reputation: 0
Unhappy How to get the inode address


I would like to know,how would i be obtain the address of an inode entry of a specific file.I know there are two possible ways,by using the iget function specified in the linux/inode.c or try to access the dentries present in the memory.Since i am a newbie in this area,i am finding it hard to access the address of the inode entry.would any one be able to shed some light on my query.

My aim to access the inode entry so i would be able to access the actual addresses on the HD,where the file is stored as fragments.

Old 11-17-2006, 01:53 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
The question isn't quite clear to me ... do you mean
like in 'ls -i file'?

Old 11-20-2006, 09:56 AM   #3
LQ Newbie
Registered: Nov 2006
Posts: 16

Original Poster
Rep: Reputation: 0

"ls -i" will give the inode number.I would like to get the starting address of the inode struct stored
after super block in the aim to access the inode struct and access the details directly without using any of the system calls,so i can manupualte the data.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
inode ahmed gamal Slackware 2 04-02-2006 08:34 AM
Inode Lock drmjh Linux - Newbie 11 04-01-2006 04:12 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
inode muthiahm Linux - Newbie 2 06-11-2004 04:00 PM
about inode eshwar_ind Programming 3 04-24-2004 02:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

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