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.  Note that, in Cygwin 1.7 mount is not
> permanent.  You'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:       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

Reply via email to