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 X-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVbzVyNdxHEo6zTiN5YSTyvPlJGe11JZhegxKszRSH49b1EwglAUNf0H Message-ID: <3F174BBF.5060106@cygwin.com> Date: Thu, 17 Jul 2003 21:22:07 -0400 From: Larry Hall Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pavel Rozenboim CC: cygwin AT cygwin DOT com Subject: Re: cygwin 1.5.0 managed mode & backward compatibility References: <6A3008858445D711A58A00062939B2F1EB1E AT EXCHANGE> In-Reply-To: <6A3008858445D711A58A00062939B2F1EB1E@EXCHANGE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Pavel Rozenboim wrote: > >>-----Original Message----- >>From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com] >>Sent: Thu, July 17, 2003 4:15 PM >>To: Pavel Rozenboim >>Cc: cygwin AT cygwin DOT com >>Subject: Re: cygwin 1.5.0 managed mode & backward compatibility >> >> >>Pavel Rozenboim wrote: >> >> >>>>-----Original Message----- >>>>From: Christopher Faylor [mailto:cgf-idd AT cygwin DOT com] >>>>Sent: Wed, July 16, 2003 6:07 PM >>>>To: cygwin AT cygwin DOT com >>>>Subject: Re: cygwin 1.5.0 managed mode & backward compatibility >>>> >>>> >>>>On Wed, Jul 16, 2003 at 01:48:28PM +0200, Pavel Rozenboim wrote: >>>> >>>> >>>>>Hi, >>>>> >>>>>I installed cygwin 1.5.0 and remounted all cygwin >>>> >>>>directories (/,/usr/bin, >>>> >>>> >>>>>/usr/lib) in managed mode. Now I can't access files that >>>> >>>>have a capital >>>> >>>> >>>>>letters that were created before upgrade to 1.5.0. >>>> >>>>*exactly* >>>> >>>>Don't do that. Do not use managed mode on your old >>>>directories. It is >>>>called "managed" for a reason. Cygwin wants to manage all >>>>file creations. >>>>So, the only way to use it is to create an empty directory, mount it >>>>as managed, and then populate it with files. >>> >>> >>>Do you have any plans to provide backward/windows >> >>compatibility for managed >> >>>mode? >> >> >>Perhaps I'm being simplistic but I can't see how Windows compatibility >>could be added in terms of it displaying the unmanaged names and >>understanding which name maps where. I assume that's what you meant. > > > I thought about a following idea: when looking for a file on a filesystem in > managed mode, first try an unmangled name, and if it doesn't exist, try > mangled name. I understand that the whole issue is more complex that that, > and my idea probably was considered and rejected already. Right. Play around with it and you'll probably see why this won't really work (i.e. it could get you a different file than you expected for one thing). >>If not, please clarify. Also, I'm not sure I understand the >>implication >>of 'backward' in your statement, unless it was just a qualifier for >>'windows'. > > > It is mostly the same, as current cygwin (1.3.xx) implementation relies on > windows names, AFAIK. Right. OK same as above then. >>There's no reason that Windows applications can't work with >>the managed >>named files of course. At least, no reason AFAICS. > > > The potential problem is in mixed environments. For example, we have a > compilation scripts that run on cygwin and use cygwin make utility, but the > compiler itself is a non-cygwin application. In such situation all scripts > and makefiles need to be modified to use cygpath utility extensively. We > also use non-cygwin editors to edit the sources. Of course, use of managed > mode is not required in this situation, but it still would be nice to be > able to work with managed mode and still be able to access files with > non-cygwin applications. Well, as I mentioned, you can. You just have to refer to the managed names as they appear in Windows. This works fine for me. But I don't see a transparent, seemless way to make Windows or unaware Cygwin versions understand the managed names. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/