LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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.

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

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


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

Original Poster
Rep: Reputation: 0
Hi,

"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 filesystem.my aim to access the inode struct and access the details directly without using any of the system calls,so i can manupualte the data.

-Alphy
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 AM.

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