[patch] overcoming PATH_MAX - very long paths with rsync - integration of liblongpath
slink at schokola.de
Tue Aug 20 06:29:25 MDT 2013
I need to migrate data from a Linux box (PATH_MAX 4096) to Solaris with
(PATH_MAX 1024) and it so happens that not only do paths longer than 1K actually
exist, but also is the application in no way bound to 4K paths.
In an effort to find a generic solution to these issues, I have written
liblongpath. See https://code.uplex.de/liblongpath - there is a manpage (online
I am attaching a patch to rsync master which integrates liblongpath using the
This patch needs
0002-modernize-configure.ac-update-gnulib-macros-and-add.patch.bz2 which is
included in my previous email.
To build rsync with liblongpath, either install liblongpath to a standard
prefix, or use rsync configure with
I have run successful tests on Debian 6, ancient OpenSolaris snv_134 (32 + 64
bit) and SmartOS 20130111T010112Z (32) with rsync and the (currently
undocumented) liblongpath test, so I am pretty confident that the initial
release should be at least of some use.
Also I have successfully migrated some ~1.5 TB of small files with
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the rsync