X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 	tests=AWL,BAYES_00,J_CHICKENPOX_64,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090922163459.GA29242@ednor.casa.cgf.cx>
References: <7061c8bc0909220743j20cb4acbg7d4fdbd5fe9ba220@mail.gmail.com>  	<4AB8E771.4030802@gmail.com> <7061c8bc0909220801v2830132en9f32df3b59c57ebe@mail.gmail.com>  	<4AB8E7DC.5080108@cygwin.com> <8d7f7110909220830i51eddcd3o5146eefbd9d4faa6@mail.gmail.com>  	<4AB8F002.5060100@cygwin.com> <8d7f7110909220911y7475b4d9g7342e904e62ea134@mail.gmail.com>  	<20090922163459.GA29242@ednor.casa.cgf.cx>
From: =?UTF-8?B?77i244Sj54Sh5ZCN5rCP?= <tianlijian@gmail.com>
Date: Wed, 23 Sep 2009 11:09:06 +0800
Message-ID: <8d7f7110909222009k2a103d0brf43020aad799a942@mail.gmail.com>
Subject: Re: how to let cygwin does not mount /bin /usr/bin automaticlly?
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

I have try the command:
$ mount -f -o binary,user 'f:\cygwin_1.7\usr\bin\' /usr/bin
mount: /usr/bin: Operation not permitted

The -f option does not work well.

I have alse add this line to fstab:
ntfs f:\cygwin_1.7\usr\bin\ /usr/bin binary,user 0 0
It fails, too.

On Wed, Sep 23, 2009 at 00:34, Christopher Faylor <.....> wrote:
> On Wed, Sep 23, 2009 at 12:11:23AM +0800, "???????????????" wrote:
>>Thanks. I want to know how to change this configuration.
>>
>>I do as follows:
>>
>>bash-3.2$ /bin/umount /usr/bin
>>umount: /usr/bin: Operation not permitted
>>
>>but i does not work. Any idea?
>
> If you want /usr/bin to point someplace nonstandard, try using the -f -o
> override options to mount. =C2=A0Note that, in Cygwin 1.7 mount is not
> permanent. =C2=A0You'll have to change /etc/fstab if you want permanent
> mounts.
>
> I can't think of any way to keep /usr/bin permanently unmounted.
>
> cgf
>
> --
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
>
>

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

