delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/11/09:35:17

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Xiaomin Wu <wu_xiaomin AT emc DOT com>
Subject: Cgywin filename with 255 character
Date: Tue, 11 Jul 2006 13:30:58 +0000 (UTC)
Lines: 33
Message-ID: <loom.20060710T222739-458@post.gmane.org>
References: <8389af8b0603241937m62e9701y596bed40382bd6f0 AT mail DOT gmail DOT com> <4424BE59 DOT 9184F1E1 AT dessent DOT net> <e02h7v$ovh$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I have problem to touch a file with 255 charaters long filename in Cygwin 
client (MKS client works fine). After remove 2 of them, it seems work fine. 
Could you explain why? Thanks a lot!

sh-3.1$ pwd
/cygdrive/c

sh-3.1$ touch c:/file123456789-123456789-123456789-123456789-123456789-12345678
9-123456789-123456789-123456789-123456789-123456789-123456789-123456789-1234567
89-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456
789-123456789-123456789-1234567.txt   <== 255 charaters not include c:/
touch: cannot touch `c:/file123456789-123456789-123456789-123456789-123456789-12
3456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
3456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
3456789-123456789-123456789-1234567.txt': File name too long

sh-3.1$ touch c:/file123456789-123456789-123456789-123456789-123456789-12345678
9-123456789-123456789-123456789-123456789-123456789-123456789-123456789-1234567
89-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456
789-123456789-123456789-123456.txt     <== 254 charaters not include c:/
touch: cannot touch `c:/file123456789-123456789-123456789-123456789-123456789-12
3456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
3456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
3456789-123456789-123456789-123456.txt': File name too long


sh-3.1$ touch c:/file123456789-123456789-123456789-123456789-123456789-12345678
9-123456789-123456789-123456789-123456789-123456789-123456789-123456789-1234567
89-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456
789-123456789-123456789-12345.txt    <==253 charaters not include c:/



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019