X-Recipient: archive-cygwin@delorie.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 <mangoo@wpkg.org>
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 <ebb9@byu.net>
Cc: cygwin@cygwin.com
Subject: Re: using rsync with Win32/UNC pathnames?
References: <47F223A5.5010103@wpkg.org> <47F22572.3030406@byu.net> <47F2276F.7080405@wpkg.org> <47F229BD.2060507@byu.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

