delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/05/23:39:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Mathew Shember <Mathew DOT Shember AT synopsys DOT com>
To: Jeremy Bopp <jeremy AT bopp DOT net>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Wed, 5 May 2010 20:38:57 -0700
Subject: RE: 1.7.1: Replacement for mount -f -u -b c: /
Message-ID: <8B2AE934D71765479BFD241BC9F80056702B32F5@US01WXMBX1.internal.synopsys.com>
References: <8B2AE934D71765479BFD241BC9F80056702B2EC3 AT US01WXMBX1 DOT internal DOT synopsys DOT com> <4BE1D031 DOT 2030104 AT bopp DOT net>
In-Reply-To: <4BE1D031.2030104@bopp.net>
x-cr-puzzleid: {785B81B6-2A81-4926-9790-B074B2AA791F}
x-cr-hashedpuzzle: CC7f Dpip E/BI G43r H213 KppV LlFI Ltl4 MC1P Oeyq QoAJ SIvW WRc9 WjGs W5UJ XMgw;2;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtADsAagBlAHIAZQBtAHkAQABiAG8AcABwAC4AbgBlAHQA;Sosha1_v1;7;{785B81B6-2A81-4926-9790-B074B2AA791F};bQBzAGgAZQBtAGIAZQByAEAAcwB5AG4AbwBwAHMAeQBzAC4AYwBvAG0A;Thu, 06 May 2010 03:38:57 GMT;UgBFADoAIAAxAC4ANwAuADEAOgAgAFIAZQBwAGwAYQBjAGUAbQBlAG4AdAAgAGYAbwByACAAbQBvAHUAbgB0ACAALQBmACAALQB1ACAALQBiACAAYwA6ACAALwA=
MIME-Version: 1.0
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

Thank you!

This might be a case of "I want it that way"

Basically the user is not happy to see "/c/export/home" when he does a pwd.=
....

The old mount command eliminated the "/c"=20

Thanks!


-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of=
 Jeremy Bopp
Sent: Wednesday, May 05, 2010 1:08 PM
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.1: Replacement for mount -f -u -b c: /

On 5/5/2010 2:57 PM, Mathew Shember wrote:
> In the previous release, some of our engineers would change:
>=20
> /cygwin/c/export/home/
>=20
> To=20
>=20
> /export/home
>=20
> To eliminate the "/c" they would use=20
>=20
> Mount -f -u -b c: /
>=20
> This no longer works and I haven't figured out a work around.
>=20
> 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


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