This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using du.exe to calculate disk usage on a Microsoft cluster server


Dave Korn wrote:

> filenames.  I *still* don't understand how it is possible for your users to
> create files with names that are longer than the maximum filename length that
> windows permits - this is a limitation of the windows OS and filing system,
> not one that cygwin imposes.

As far as I recall the PATH_MAX of 260 applies to the ANSI versions of
the file APIs, but if you use the Unicode version you can create names
up to 32K UTF-16 characters in length.  So it is entirely possible to
create a file with a name that is too long to access via normal programs
that aren't using the Unicode variants of the API functions (which
includes Cygwin.)

Brian

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]