|
From: | Paul Eggert |
Subject: | Re: Bug in handling hard links in bind-mounted directories |
Date: | Wed, 12 Jan 2022 15:54:07 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 |
On 1/12/22 14:50, Derek Pressnall wrote:
My assumption was that this logic (to track inodes for all files if more than one file was listed) was put in place to handle cases where there may be a bind mount
Actually I expect it's because if more than one file is listed then there may be multiple ways to reach the same file, even if its link count is 1. This is true regardless of whether bind mounts are involved.
[Prev in Thread] | Current Thread | [Next in Thread] |