[Bug 7424] Extend -x to make use of information in /proc/mounts (when available)

samba-bugs at samba.org samba-bugs at samba.org
Mon Jul 4 17:30:54 MDT 2011


Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
            Version|3.0.7                       |3.1.0
            Summary|-x with sshfs               |Extend -x to make use of
                   |                            |information in /proc/mounts
                   |                            |(when available)
           Severity|minor                       |enhancement

--- Comment #3 from Wayne Davison <wayned at samba.org> 2011-07-04 23:30:54 UTC ---
Rsync has to stat a directory in order to be able to discover that it is on a
different device.  If a user is unable to stat the directory (which, as Kevin
indicates, is not possible if the fuse mount is only allowing one user to stat
the dir), then you'll see the stat error.  Your only option is to exclude the

See the support/mnt-excl script for a way to generate a list of mount-point
exclusions relative to a given source directory.

Perhaps rsync should be extended to try to gather absolute mount-point
information via something like /proc/mounts (when -x is used) which would allow
it to use a combination of a list of mounts and the checking of mount-point
device numbers when deciding if a directory is a mount point or not.  I'll
transform this bug into an enhancement request for that.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list