delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/22/23:21:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 22 Sep 2009 23:21:13 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to let cygwin does not mount /bin /usr/bin automaticlly?
Message-ID: <20090923032113.GA32490@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7061c8bc0909220743j20cb4acbg7d4fdbd5fe9ba220 AT mail DOT gmail DOT com> <4AB8E771 DOT 4030802 AT gmail DOT com> <7061c8bc0909220801v2830132en9f32df3b59c57ebe AT mail DOT gmail DOT com> <4AB8E7DC DOT 5080108 AT cygwin DOT com> <8d7f7110909220830i51eddcd3o5146eefbd9d4faa6 AT mail DOT gmail DOT com> <4AB8F002 DOT 5060100 AT cygwin DOT com> <8d7f7110909220911y7475b4d9g7342e904e62ea134 AT mail DOT gmail DOT com> <20090922163459 DOT GA29242 AT ednor DOT casa DOT cgf DOT cx> <8d7f7110909222009k2a103d0brf43020aad799a942 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <8d7f7110909222009k2a103d0brf43020aad799a942@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Wed, Sep 23, 2009 at 11:09:06AM +0800, "???????????????" wrote:
>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.

You really do need the -o override option that I mentioned.

See: http://cygwin.com/1.7/cygwin-ug-net/using-utils.html#mount

cgf

>On Wed, Sep 23, 2009 at 00:34, Christopher Faylor <.....> wrote:
>>If you want /usr/bin to point someplace nonstandard, try using the -f
>>-o override options to mount.  ??Note that, in Cygwin 1.7 mount is not
>>permanent.  You'll have to change /etc/fstab if you want permanent
>>mounts.

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