X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47F22BD6.3040801@wpkg.org> Date: Tue, 01 Apr 2008 14:34:30 +0200 From: Tomasz Chmielewski User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: Eric Blake Cc: cygwin AT cygwin DOT com Subject: Re: using rsync with Win32/UNC pathnames? References: <47F223A5 DOT 5010103 AT wpkg DOT org> <47F22572 DOT 3030406 AT byu DOT net> <47F2276F DOT 7080405 AT wpkg DOT org> <47F229BD DOT 2060507 AT byu DOT net> In-Reply-To: <47F229BD.2060507@byu.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Eric Blake schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Tomasz Chmielewski on 4/1/2008 6:15 AM: > | In Windows, path can have only up to 260 characters. > > In Windows, the ASCII functions can only handle up to 260 characters. But > the Unicode functions handle more. You may be interested in trying a > snapshot, where longer filenames are (mostly) supported, Nope, they are not supported in snapshots; drive snapshots are nothing different than a normal drive (I assume you're talking about VSS / shadow copy snapshots for the whole drive, i.e. snapshot C:, it appears as read-only V:?). > and in > particular, your use case of rsync with names longer than 260 characters > should work using POSIX-style paths. Like /cygdrive/v/some/longish/path/...? Nope, it doesn't work, rsync skips these files and says "skipping overly long name". So "Cygwin-expanded" paths have Win32-limitations; not UNC ones, where longer names are allowed. BTW, what a mess is Windows: several incompatible ways of specifying paths etc. -- Tomasz Chmielewski http://wpkg.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/