DO NOT REPLY [Bug 5223] New: Options to limit --one-file-system at the source or destination.

samba-bugs at samba.org samba-bugs at samba.org
Tue Jan 22 13:45:19 GMT 2008


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

           Summary: Options to limit --one-file-system at the source or
                    destination.
           Product: rsync
           Version: 3.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: hans at deragon.biz
         QAContact: rsync-qa at samba.org


Currently, the --one-file-system applies to both the source and destination and
this is a problem.

In my source, I have a symlink pointing to a directory on another device which
I would like to have copied.  I thus use --copy-unsafe-links.

I also use --delete.  This is dangerous because if there is a bug in my script,
I would not like the destination to become suddenly / and deletion occurs on
mounted network drives (granted, the machine would be toast, but the damage
would be limited to the machine; not the corporate network).

If I make use of --one-file-system, the symlink at the source gets ignored.  So
I need a --one-file-system option that applies only to the destination,
probably named something like --one-file-system-at-destination.

Could that be easily implemented?  The following two options would be nice:

--one-file-system-at-source
  # Limit to one file system at the source.

--one-file-system-at-destination
  # Limit to one file system at the destination.


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


More information about the rsync mailing list