[Bug 8513] New: files from local filesystem on source written to different filesystem on dest despite --one-file-system

samba-bugs at samba.org samba-bugs at samba.org
Fri Oct 7 13:03:01 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8513

           Summary: files from local filesystem on source written to
                    different filesystem on dest despite --one-file-system
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: terry_n_brown at yahoo.com
         QAContact: rsync-qa at samba.org


doing something like

    rsync -e "ssh -p $PORT" \
        --ignore-errors \
        --only-write-batch=$STORAGE/$TS""_$NAME.rsb \
        --archive \
        --one-file-system \
        --verbose \
        --progress \
        --delete \
        $SOURCE/ \
        $TARGET:$SOURCE/

On the source, due to historical accident, there are *local* files like

.../cifs/data1/cdrive/autoexec.bat
.../cifs/data1/cdrive/http/setup.ini

and on dest. .../cifs/data1/cdrive is a windows share on another filesystem /
machine, but the --read-batch version of the above, even with --one-file-system
flag, files on the other filesystem are still overwritten.

Seems --one-file-system should never cross file system boundaries.

-- 
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