delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/17/16:43:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 17 Feb 2004 16:42:57 -0500 (EST)
From: Dick Repasky <rrepasky AT lack DOT ucs DOT indiana DOT edu>
To: cygwin AT cygwin DOT com
Subject: Path issue after umount -c
Message-ID: <Pine.LNX.4.58.0402171612050.27489@lack.ucs.indiana.edu>
MIME-Version: 1.0
X-IsSubscribed: yes


When following two commands are executed in a bash script

umount -c
C:/cygwin/home/me/experiment/bin/umount -A

the second command fails  with the error: 
  
 script.sh: line x: /home/me/experiment/bin/umount: No such file or  directory

if when the script is run the Cygwin mount points are 
present in the registry.  

If try again (restore mounts), close all cygwin processes and manually
delete all cygwin keys from the registry (actually CURRENT_USER keys don't
matter, LOCAL_MACHINE keys do matter), and run the bash script again, the
pair of commands runs without error.

So, why after the umount is, is C:/cygwin/home/experiment/bin/umount being
abbreviated as /home/experiment/bin/umount?  The same thing happens if I
run umount -A first and then supply a path to umount -c.

Throughout all trials, the entire search path is
PATH=/cygdrive/c/home/me/experiment/bin.

Thanks,

Dick

--
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/

- Raw text -


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