X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 23 Sep 2009 09:51:06 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4AB8E7DC.5080108@cygwin.com>  <8d7f7110909220830i51eddcd3o5146eefbd9d4faa6@mail.gmail.com>  <4AB8F002.5060100@cygwin.com>  <8d7f7110909220911y7475b4d9g7342e904e62ea134@mail.gmail.com>  <20090922163459.GA29242@ednor.casa.cgf.cx>  <8d7f7110909222009k2a103d0brf43020aad799a942@mail.gmail.com>  <20090923032113.GA32490@ednor.casa.cgf.cx>  <8d7f7110909222036h17e91351v2b7423dc9de02768@mail.gmail.com>  <20090923041912.GA32571@ednor.casa.cgf.cx>  <8d7f7110909222137l5774be4v3269a0cb66f47a72@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8d7f7110909222137l5774be4v3269a0cb66f47a72@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

