Aug 132014
 

Ci spiace, ma questo articolo è disponibile soltanto in Inglese Americano.

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

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=""> <s> <strike> <strong>

(required)

(required)

*