DO NOT REPLY [Bug 4162] Wanted: a mechanism to prevent rsync network compression of compressed files

samba-bugs at samba.org samba-bugs at samba.org
Thu Jul 12 10:14:54 GMT 2007


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


boris at folgmann.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris at folgmann.de




------- Comment #1 from boris at folgmann.de  2007-07-12 05:14 CST -------
I would also like to see such a function. On Linux the file command could be
used to determine the exact file type, which is more robust than using a
built-in or user-supplied list of file extentions (like .gz, .bz2, .jpg and so
on)

Instead of calling the file command rsync can directly use libmagic. That
should also be possible on non-UNIX systems I think, since the library is
surely portable.

The other solution by testing compression on the first 8k is also a very good
one, that might be even faster to implement.


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