This is the mail archive of the cygwin@cygwin.com 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] |
Please note: I'm cross-posting to both cygwin and fileutils lists. Sorry for any inconvenience. I had a directory containing some source files. I wanted to create a subdirectory "src", and put the files in there. Being lazy, I just did: mkdir src mv * src I do this sort of thing often on various linux platforms without a problem - the files will get moved, and an error will be displayed about the source file: -apc·sme60build[~/tmp/mvtest]$ touch blah blah2 -apc·sme60build[~/tmp/mvtest]$ ls blah blah2 -apc·sme60build[~/tmp/mvtest]$ mkdir src -apc·sme60build[~/tmp/mvtest]$ mv * src mv: cannot move `src' to a subdirectory of itself, `src/src' -apc·sme60build[~/tmp/mvtest]$ echo $? 1 -apc·sme60build[~/tmp/mvtest]$ find . ./src ./src/blah ./src/blah2 in cygwin 1.5.3, I got the following error after a moment: mv: cannot create directory `src/src/src/src/src/src/src [...] /src': Invalid argument I think it is the MAX_PATH=256 limitation that finally brings this to a halt. Each of the subdirectories contains all the source files and a src directory. Running "mv --version shows: mv (fileutils) 4.1 ... I've attached a cygcheck.out file for more details. I'm not on the cygwin list, so I'm probably not going to follow this thread. I just thought I'd report this in case it is still an outstanding but that needs fixing. cheers, Tony
Attachment:
cygcheck.out
Description: Text document
-- 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] |