This is the mail archive of the cygwin@sources.redhat.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]

Re: Moving from textmode to binmode: mount: resource busy


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@rfk.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]