Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010112141232.02274da8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 12 Jan 2001 14:16:36 -0500 To: dkarr AT tcsi DOT com (David M. Karr), cygwin AT sourceware DOT cygnus DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Moving from textmode to binmode: mount: resource busy In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:50 PM 1/12/2001, David M. Karr wrote: >I want to explore the possibility of using binmode instead of >textmode. I successfully changed the default to binmode. When I >tried changing the mode on "/usr/bin", in an MSDOS shell with: > > mount -b -s d:\cygwin\bin /usr/bin > >It said: > > mount: /usr/bin: Device or resource busy > >I'm doing this from the root directory of a different drive, and I've >killed every process that could possibly (AFAIK) have this open. > >I'd appreciate some information about this. umount /usr/bin first. >When I get past this, what other issues should I expect, and can I >deal with them? Good question. There have traditionally been problems with script and makefiles since these contain \r\n and shells and make would trip over these. This shouldn't be a problem for bash/ash/sh and make anymore though. It may still be a problem for other shells. Remove the \r from these files and you'll be fine or fix the offending utility by making it read text too. >For instance, what do I have to do with "pdksh" and >NTEmacs to work with this? Dunno. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple