Follow-up Comment #9, bug #42318 (project findutils): >From POSIX section mentioned "it shall cause find not to continue descending past directories that have a different device ID (st_dev" Key is the reference to primary. Primary will have one st_dev, the mount point will have another one. The directory on which a file system is mounted has indeed a different device ID.
Example: testserver ~ # stat /mnt/|grep Device Device: fd01h/64769d Inode: 8196 Links: 3 testserver ~ # stat /mnt/testmount/|grep Device Device: fd07h/64775d Inode: 2 Links: 2 testserver ~ # So, i would read this as "if the directory has a different Device, do not list it". That of course is different from the current behavior. BTW, http://austingroupbugs.net/view.php?id=1133 has been opened to clarify POSIX understanding. There is also a very interesting comment on the behavior that has to be kept regarding -H and -L (symbolic link related) behavior. "I can see making it a requirement mount names show when neither -H or -L specified, whether -xdev set or not, and hidden when either option and -xdev is specified, treating the direct name as a symbolic link body, essentially. This may be a breaking change, but covers both observed behaviors. " _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42318> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/