Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-23 Thread Fergus
That is great. Thanks for your patient. I have another question. Can the first field of fstab use relative path. I expect to make the cygwin portable, that is, i need to move it to somewhere esle without changing the fstab every time. If you are using Cygwin in portable mode (presumably on a

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-23 Thread Christopher Faylor
On Wed, Sep 23, 2009 at 12:37:58PM +0800, ??? wrote: The entry that you used in your previous mail was not correctly formatted. It should be something like: f:/cygwin_1.7/usr/bin /usr/bin ntfs binary 0 0 That is great. Thanks for your patient. I have another question. Can the

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-23 Thread ︶ㄣ無名氏
That's one of those Why not just try it questions but the answer is no.  How could that possibly work? Thanks. I have tried it. I think it is possible. The relative path can be convented the absolute path according to where cygwin1.dll lives. -- Problem reports:

how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread tianlijian
how to let cygwin does not mount /bin /usr/bin automaticlly? -- 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

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Dave Korn
tianlijian wrote: how to let cygwin does not mount /bin /usr/bin automaticlly? Lots of things won't work without that mount. I advise not to tamper with it. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread tianlijian
I use a older version of 1.7, which do not mount `/bin', `/usr/bin' automatically. It works well. On Tue, Sep 22, 2009 at 11:04 PM, Dave Korn dave.korn.cyg...@googlemail.com wrote: tianlijian wrote: how to let cygwin does not mount /bin /usr/bin automaticlly?  Lots of things won't work

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Larry Hall (Cygwin)
On 09/22/2009 11:01 AM, tianlijian wrote: I use a older version of 1.7, which do not mount `/bin', `/usr/bin' automatically. It works well. Why do you care what Cygwin requires here? Are you having a problem? -- Larry Hall http://www.rfk.com RFK Partners, Inc.

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Dave Korn
tianlijian wrote: I use a older version of 1.7, which do not mount `/bin', `/usr/bin' automatically. Something must have gone wrong with creating fstab during the upgrade I guess, it should have been done. It works well. What happens when a shell script begins #!/bin/sh? Alternatively,

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread ︶ㄣ無名氏
I want to put thd command according to filesytem hierarchy standard, that is putting the cmd such as sh in /bin, and env in /usr/bin/. On Tue, Sep 22, 2009 at 23:06, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: On 09/22/2009 11:01 AM, tianlijian wrote: I use a older version of

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Larry Hall (Cygwin)
On 09/22/2009 11:30 AM, ︶ㄣ無名氏 wrote: On Tue, Sep 22, 2009 at 23:06, Larry Hall (Cygwin) reply-to-list-only-lh... wrote: ^ http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On 09/22/2009 11:01 AM, tianlijian wrote: I use a

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread ︶ㄣ無名氏
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? On Tue, Sep 22, 2009 at 23:40, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: On 09/22/2009 11:30 AM,

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Andy Koppe
2009/9/22 ︶ㄣ無名氏: 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? /etc/fstab -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Larry Hall (Cygwin)
Again, I'd ask that you http://cygwin.com/acronyms/#PCYMTNQREAIYR. I don't need the spam and others that respond to you also are likely to not want to see more. On 09/22/2009 12:11 PM, ︶ㄣ無名氏 wrote: Thanks. I want to know how to change this configuration. I do as follows: bash-3.2$

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Christopher Faylor
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

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread ︶ㄣ無名氏
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,

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Christopher Faylor
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:

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread ︶ㄣ無名氏
$ mount -f -o override 'f:\cygwin_1.7\usr\bin\' /usr/bin mount: /usr/bin: Operation not permitted I have used the `override' option, but the error occurs again. On Wed, Sep 23, 2009 at 11:21, Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com wrote: On Wed, Sep 23, 2009 at

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread Christopher Faylor
On Wed, Sep 23, 2009 at 11:36:13AM +0800, ??? wrote: $ mount -f -o override 'f:\cygwin_1.7\usr\bin\' /usr/bin mount: /usr/bin: Operation not permitted I have used the `override' option, but the error occurs again. Sorry for the misinformation. You need to add an entry for /usr/bin

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread ︶ㄣ無名氏
The entry that you used in your previous mail was not correctly formatted. It should be something like: f:/cygwin_1.7/usr/bin /usr/bin ntfs binary 0 0 That is great. Thanks for your patient. I have another question. Can the first field of fstab use relative path. I expect to make the cygwin