delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/09/10:53:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4D52B86E.2020507@bopp.net>
Date: Wed, 09 Feb 2011 09:53:18 -0600
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Accessing folders elsewhere than C:\cygwin
References: <4D52A7DD DOT 7080208 AT bonhard DOT uklinux DOT net> <4D52B7D5 DOT 5020200 AT bopp DOT net>
In-Reply-To: <4D52B7D5.5020200@bopp.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 02/09/2011 09:50 AM, Jeremy Bopp wrote:
> mount | grep -q 'on /mnt/else type' ||
>   mount $(cygpath -m)/../else /mnt/else
                     ^^^
I lost a slash in the above code.  It should be as follows:

mount | grep -q 'on /mnt/else type' ||
  mount $(cygpath -m /)/../else /mnt/else

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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