[FYI] Cygwin dll: mv'ing non-managed dirs to managed mounts also fails

Nicholas Wourms nwourms@netscape.net
Fri Dec 19 18:21:00 GMT 2003


Hi all,

I gather this isn't going to be fixed, which is fine by me, since cp -a 
-preserve=all works equally as well.  However, I would like to note for 
the record and the archives that `mv` is also experiencing problems when 
moving non-managed folders to managed mounts as was hypothesized by CGF in:
http://sources.redhat.com/ml/cygwin/2003-09/msg01122.html

The symptom is that, after the folder is moved, ls is only able to "see" 
files/dirs with all lowercase, returning ENOENT for any file/dir with a 
capital letter in its name.

I know that "patches are gratefully accepted", but I would suggest a 
two-tier approach to solving this.  First, add a new routine and flag to 
mount which would allow the user to make mount walk the dir tree of the 
source and do what magic is needed to bring the items under "managed" 
mode.  The second part would be to modify mv & friends to check for this 
attribute on the source and dest if copying between mounts, taking 
appropriate action as necessary.  I don't think this is all that foreign 
to file-utils, since it somewhat analogous to manipulating files between 
ALC/EA-aware fs's and those fs's which are non-ACL/EA aware.

Cheers,
Nicholas


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



More information about the Cygwin mailing list