Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-24-2007, 03:47 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
How Do I List All Files Linked To inode?

Let's say I have a file "abc" that has a link count of 2, meaning that somewhere out there (in the same filesystem) is another file with the same inode (hard linked). I know I can use "find -inum" to locate that file, but that takes forever on a large filesystem.

What's the easiest way to list all files associated with a particular inode?
Old 04-24-2007, 06:18 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: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910

And welcome to LQ!

And as for your question: I'm afraid that that's it;
find and some time ...



help, inode, sysadmin

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
Linked List question (C) linuxlover1 Programming 4 03-08-2007 03:49 AM
Linked list manas_sem Programming 3 12-21-2006 01:53 AM
C linked list exvor Programming 4 04-28-2006 05:25 AM
konquerror error: you have linked konq to inode/directory ... Tarzan-81 Linux - Software 5 01-13-2006 05:04 AM
linked list + c dilberim82 Programming 5 05-04-2005 11:48 PM

All times are GMT -5. The time now is 06:26 AM.

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