This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to let cygwin does not mount /bin /usr/bin automaticlly?
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