www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/23/09:51:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 23 Sep 2009 09:51:06 -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: <20090923135106.GA2433@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <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> <20090923032113 DOT GA32490 AT ednor DOT casa DOT cgf DOT cx> <8d7f7110909222036h17e91351v2b7423dc9de02768 AT mail DOT gmail DOT com> <20090923041912 DOT GA32571 AT ednor DOT casa DOT cgf DOT cx> <8d7f7110909222137l5774be4v3269a0cb66f47a72 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <8d7f7110909222137l5774be4v3269a0cb66f47a72@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 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 first field of fstab use relative
>path.

That's one of those "Why not just try it" questions but the answer is
"no".  How could that possibly work?

>I expect to make the cygwin portable, that is, i need to move it
>to somewhere esle without changing the fstab every time.

In that case, you should just rely on the fact that Cygwin sets /
relative to where cygwin1.dll lives and not mess with fstab at all.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019