|
From: | Mark Raymond |
Subject: | [bug-diffutils] bug#33467: bug#33467: "diff" can not scan directories with same dev/inode |
Date: | Fri, 30 Nov 2018 10:06:42 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
POSIX says that a file is uniquely determined by its inode and device number.
This makes sense for files - but I'm not convinced it makes sense for directories. The only cases I can think of where two directories could have the same inode and device number are bind mounts (and theoretically directory hard links) - and in both those cases it's legitimate for there to be different mounts on subdirectories.
[Prev in Thread] | Current Thread | [Next in Thread] |