Aug 132014
 

Ci spiace, ma questo articolo è disponibile soltanto in English.

Popular Posts:

flattr this!

  3 Responses to “(English) Counting and listing hard links on Linux”

  1. The downside to your find command is it will find inode number 199053 on every mounted filesystem. In this case, the original file is in /etc which you know is on your root filesystem, so you should use the -xdev find option to limit the search to that filesystem. Ex: find / -inum 199053 -xdev. If the original file was on another filesystem, for instance say you have /var on a different partition and the file’s under there, just have the find command start the search there, as xdev limits the search to the filesystem on which the search began. Ex: find /var -inum 163227 -xdev.

  2. You can also use the “-samefile ” option instead of the more awkward ‘-inum ‘

 Leave a Reply

(required)

(required)


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>