Package: findutils
Version: 4.2.31-1

-xdev isn't supposed to cross mountpoints, but it can if the
subdirectory is on the same device.

To show the problem:

        mkdir -p a/b/c/d
        cd a
        mkdir e
        > e/foo
        mount -obind e b/c/d
        find b -xdev

find prints b/c/d/foo which is across the mountpoint.

On my system, this causes some large directories (/home) to be backed
up multiple times because they're bind-mounted in /var/chroot/xxx/home


--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to