X-Recipient: archive-cygwin@delorie.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.Shember@synopsys.com>
To: Jeremy Bopp <jeremy@bopp.net>, "cygwin@cygwin.com" <cygwin@cygwin.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@US01WXMBX1.internal.synopsys.com> <4BE1D031.2030104@bopp.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=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
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

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@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of=
 Jeremy Bopp
Sent: Wednesday, May 05, 2010 1:08 PM
To: cygwin@cygwin.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

