LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-10-2015, 04:12 AM   #1
ankitlinux
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Rep: Reputation: Disabled
how to get file name or page owner information if we know the inode number


In side the kernel space while debugging using pr_info if I know the inode number i.e. inode->i_ino (or the pointer to the super block) then how can I know the information about the file name or process name associated to known inode number?
 
Old 10-10-2015, 11:48 AM   #2
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 14.04 LTS
Posts: 230

Rep: Reputation: 65
Quote:
Originally Posted by ankitlinux View Post
In side the kernel space while debugging using pr_info if I know the inode number i.e. inode->i_ino (or the pointer to the super block) then how can I know the information about the file name or process name associated to known inode number?
find /path/to/mountpoint -inum <inode number>

Or did I misunderstand your question?
 
  


Reply

Tags
kernel, linux, unix


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
[SOLVED] File owner number rather than name BWestOz Linux - Newbie 3 01-12-2015 04:00 AM
[SOLVED] Extracting file information from Inode number Rohit_4739 Linux - Newbie 12 03-08-2013 07:56 AM
opening a file using its inode number rohanak Linux - General 2 03-09-2008 07:25 AM
Getting file name from inode number kalamaraki Programming 5 02-24-2007 10:17 PM
accessing file using inode number namusin Linux - Kernel 1 01-30-2007 07:31 PM


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

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