Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3FE318FD.8040301@netscape.net> Date: Fri, 19 Dec 2003 10:27:57 -0500 From: Nicholas Wourms User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com Subject: [FYI] Cygwin dll: mv'ing non-managed dirs to managed mounts also fails Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 130.127.121.187 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/