This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cgywin filename with 255 character
- From: Xiaomin Wu <wu_xiaomin at emc dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 11 Jul 2006 13:30:58 +0000 (UTC)
- Subject: Cgywin filename with 255 character
- References: <8389af8b0603241937m62e9701y596bed40382bd6f0@mail.gmail.com> <4424BE59.9184F1E1@dessent.net> <e02h7v$ovh$1@sea.gmane.org>
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/