delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/05/16:08:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4BE1D031.2030104@bopp.net>
Date: Wed, 05 May 2010 15:08:17 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.1: Replacement for mount -f -u -b c: /
References: <8B2AE934D71765479BFD241BC9F80056702B2EC3 AT US01WXMBX1 DOT internal DOT synopsys DOT com>
In-Reply-To: <8B2AE934D71765479BFD241BC9F80056702B2EC3@US01WXMBX1.internal.synopsys.com>
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 5/5/2010 2:57 PM, Mathew Shember wrote:
> In the previous release, some of our engineers would change:
> 
> /cygwin/c/export/home/
> 
> To 
> 
> /export/home
> 
> To eliminate the "/c" they would use 
> 
> Mount -f -u -b c: /
> 
> This no longer works and I haven't figured out a work around.
> 
> Tried playing with fstab with no luck.

A symlink should work:

$ ln -s /cygwin/c/export /export

A mount will also work:

$ mkdir /export # To silence mount warnings...
$ mount C:/export /export

If what you really want is to dynamically map the entire contents of C:
into the Cygwin root directory, I don't have any suggestions.  People
have been known to install Cygwin directly to C:\ before, and that would
basically get you the mapping for free, but doing so is frowned upon here.

-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