delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/16:02:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Moving from textmode to binmode: mount: resource busy
References: <uy8zogsiyv DOT fsf AT tcsi DOT com>
From: dkarr AT tcsi DOT com (David M. Karr)
Date: 12 Jan 2001 12:34:27 -0800
In-Reply-To: dkarr@tcsi.com's message of "12 Jan 2001 10:50:32 -0800"
Message-ID: <uyr928qzl8.fsf@tcsi.com>
Lines: 34
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6
MIME-Version: 1.0

>>>>> "David" == David M Karr <dkarr AT tcsi DOT com> writes:
  David> I want to explore the possibility of using binmode instead of
  David> textmode.  I successfully changed the default to binmode.  When I
  David> tried changing the mode on "/usr/bin", in an MSDOS shell with:

  David>    mount -b -s d:\cygwin\bin /usr/bin

  David> It said:

  David>    mount: /usr/bin: Device or resource busy

  David> I'm doing this from the root directory of a different drive, and I've
  David> killed every process that could possibly (AFAIK) have this open.

  David> I'd appreciate some information about this.

  David> When I get past this, what other issues should I expect, and can I
  David> deal with them?  For instance, what do I have to do with "pdksh" and
  David> NTEmacs to work with this?

Thanks to DJ and Larry for the "mount" reminders.

I've now gotten my mounts set to binmode, and I figured out how to
make Emacs write everything in Unix text file mode.

I have an idea about how to deal with "ksh".  I tried moving "ksh.exe"
out of the way and adding a symlink from "bash.exe" to "ksh.exe".  I
tried some basic primitive tests, and this works fine, but is there
any place where this could cause me problems?

-- 
===================================================================
David M. Karr     ; w:(425)487-8312     ; TCSI & Best Consulting
dkarr AT tcsi DOT com    ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019