delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/13/18:38:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <34008957.post@talk.nabble.com>
Date: Wed, 13 Jun 2012 15:37:49 -0700 (PDT)
From: richw <richaw AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /bin and /lib mount points occasionally lost
In-Reply-To: <4FD90069.1040101@gmail.com>
MIME-Version: 1.0
References: <34007108 DOT post AT talk DOT nabble DOT com> <20120613174824 DOT GA2358 AT ednor DOT casa DOT cgf DOT cx> <34007924 DOT post AT talk DOT nabble DOT com> <4FD90069 DOT 1040101 AT gmail DOT com>
X-IsSubscribed: yes
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


marco atzeri-4 wrote:
> 
> On 6/13/2012 9:47 PM, richw wrote:
>>
>>
>> Christopher Faylor-8 wrote:
>>>
>>> On Wed, Jun 13, 2012 at 10:19:42AM -0700, richw wrote:
>>>> I occasionally find that cygwin is broken, and I find that /usr/bin and
>>>> /usr/lib no longer are useful.  The mount command (for which I need to
>>>> type /bin/mount) shows nothing mounted there.  I type the following two
>>>> commands:
>>>> mount c:/cygwin/bin /usr/bin
>>>> mount c:/cygwin/lib /usr/lib
>>>> and things work (through reboots) for a while, and then break again.
>>>> Any hints how I can keep this from happening, or what might cause it?
>>>
>>> One big hint:
>>> http://cygwin.com/problems.html
>>>
> 
>>>
>>>
>> Sometimes I'm not good at interpreting hints. Let's see - Google didn't
>> find
>> me anything. The FAQ doesn't seem to help. So I think the hint is telling
>> me
>> to include cygcheck output, which I will now do.
>> http://old.nabble.com/file/p34007924/cygcheck.out cygcheck.out
>>
>> By the way, the response to the mount command now looks like
>>
>> rw AT seven ~
>> $ mount
>> C:/cygwin/bin on /usr/bin type ntfs (binary,user)
>> C:/cygwin/lib on /usr/lib type ntfs (binary,user)
>> C:/cygwin on / type ntfs (binary,auto)
>> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
>> D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
>>
>> rw AT seven ~
>> $
>>
>> I note that another cygwin installation has (binary,auto) instead of
>> (binary,user) for the two mounts in question.
>>
> 
> look on difference between "/etc/fstab"
> see
> http://cygwin.com/cygwin-ug-net/using.html#mount-table
> 
> Regards
> Marco
> 
> --
> 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
> 
> 
> 

Your point is??? I read


> /usr/bin and /usr/lib are by default also automatic mount points generated
> by the Cygwin DLL similar to the way the root directory is evaluated.
> /usr/bin points to the directory the Cygwin DLL is installed in, /usr/lib
> is supposed to point to the /lib directory. This choice is safe and
> usually shouldn't be changed. An fstab entry for them is not required.
> 

which tells me I should ignore /etc/fstab, and I shouldn't have to do
anything. It should just work.
-- 
View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasionally-lost-tp34007108p34008957.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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