X-Recipient: archive-cygwin@delorie.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@bopp.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@cygwin.com
Subject: Re: 1.7.1: Replacement for mount -f -u -b c: /
References: <8B2AE934D71765479BFD241BC9F80056702B2EC3@US01WXMBX1.internal.synopsys.com>
In-Reply-To: <8B2AE934D71765479BFD241BC9F80056702B2EC3@US01WXMBX1.internal.synopsys.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

