delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/23/13:35:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3D3D93F0.5040707@healthlanguage.com>
Date: Tue, 23 Jul 2002 11:35:44 -0600
From: "Larry V. Streepy, Jr." <streepy AT healthlanguage DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Odd mount and path problem
References: <80575AFA5F0DD31197CE00805F650D767B226B AT wilber DOT adroit DOT com>

Excellent description David, thanks.

I was giving too much "unix" smarts to the process and assuming my D:/ 
mount on / was properly implying that /bin also resides on D:.

This is an area that the user guide could definitely use work on.

Again, thanks to all who helped answer this problem and shed light on 
what appears to be a misunderstood area.


Robinow, David wrote:

> 
>>From: Larry V. Streepy, Jr. [mailto:streepy AT healthlanguage DOT com]
>>Subject: Re: Odd mount and path problem
>>
>>I got an explanation that had something to do with the current drive 
>>affecting the way /cygdrive is interpreted.  However, I wasn't using 
>>/cygdrive in my path, so I don't understand the real reason that you 
>>have to include the drive letter in mount table.
>>
>  I think you misinterpreted the answer. /cygdrive has nothing to do with
> this.
> 
>   The mount point:
>     \cygwin\sbin on /sbin type system (binmode)
>   means that if cygwin sees a file spec /sbin/blah/what.txt
>   It looks in the mount table for /sbin/blah. Assuming that's not found it
> looks for /sbin. That exists and so it looks for the file in
> \cygwin\sbin\blah\what.txt
>  What disk drive would you expect to find that file in? Well, for as long as
> I can remember, Microsoft has looked in what is known as the "current
> drive".  That means your mount point changes every time you change your
> current directory to a different drive.
>  I don't think "mount" should allow you to do this. I consider it a bug.
> mount should require a drive letter.
>  Note that the location of the "/" mount point is not relevant here.  It
> would only be looked at, in the above case, if there were no /sbin mount
> point.
> 
>>Jim George wrote:
>>
>>>From: "Larry V. Streepy, Jr." <streepy AT healthlanguage DOT com>
>>>Subject: Re: Odd mount and path problem
>>>
>>>>Sylvain Petreolle wrote:
>>>>
>>>>>>d:\cygwin\home on /home type system (binmode)
>>>>>>\cygwin\sbin on /sbin type system (binmode)
>>>>>>\cygwin\bin on /bin type system (binmode)
>>>>>>
>>>>>>
>>>>>basic response is :
>>>>>you miss the DOS drive letter in your mount points
>>>>>and the / moint point looks wrong (maybe d:\cygwin ?):
>>>>>D: on / type system (binmode)
>>>>>
>>>>Excellent - that was the problem, although I really don't understand 
>>>>why.  Once d:/ is mounted on /, why do I need to qualify 
>>>>all the other mount points?
>>>>
>>>>
>>>Did you get an answer to this Larry?
>>>
> 


-- 
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office)           mailto:streepy AT healthlanguage DOT com
970/626-4425 (fax)              http://www.healthlanguage.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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