https://bugzilla.samba.org/show_bug.cgi?id=6240
Summary: rsync 3.0.x -x/--one-file-system regression? Product: rsync Version: 3.0.5 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: way...@samba.org ReportedBy: m...@lbl.gov QAContact: rsync...@samba.org This seems very similar to bug#2645 rsync 3.0.4 and 3.0.6 server-side do not seem to honor the -x option. Reproducer: # mkdir /testing # mount -t tmpfs -o size=1M,nr_inodes=1000,mode=0700 tmpfs /testing # touch /testing/{a,b,c,d,e} # mkdir /testing/foo # mount -t tmpfs -o size=1M,nr_inodes=1000,mode=0700 tmpfs /testing/foo # touch /testing/foo/{a,b,c,d,e} # mkdir /tmp/moo # cd /tmp/moo # touch a b c d e # rsync -Havx --delete . /testing/ sending incremental file list ./ deleting foo/e deleting foo/d deleting foo/c deleting foo/b deleting foo/a rsync: delete_file: rmdir(foo) failed: Device or resource busy (16) a b c d e sent 258 bytes received 110 bytes 736.00 bytes/sec total size is 0 speedup is 0.00 [r...@io006 moo]# rsync --version rsync version 3.0.5 protocol version 30 Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, no symtimes rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. Unless I'm missing something, -x should be honored by the server and should refuse to cross the /testing/foo mountpoint to delete the files contained on the 2nd RAMdisk. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html