[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard links



> In an ls -l you get the # of hard links on the right side of the
> permissions. How do I find where all of those hard links are located on
> the harddisk?
> 
"ls -il" gives you the inode-numbers, so you'll see, which files are
hard-linked.
if you need to search the whole disk, then you want to use "find -inum".

there is no other way of finding the files aside from scanning the whole
file system, because the inodes have no back references to the directories
they are linked from.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!



Reply to: