delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/20/13:24:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT nexgo DOT de>
Subject: Re: /bin and /lib mount points occasionally lost
Date: Wed, 20 Jun 2012 19:23:14 +0200
Lines: 39
Message-ID: <87wr31ew3h.fsf@Rainer.invalid>
References: <34007108 DOT post AT talk DOT nabble DOT com> <34037768 DOT post AT talk DOT nabble DOT com> <87sjdryxpx DOT fsf AT Rainer DOT invalid> <34038496 DOT post AT talk DOT nabble DOT com> <87txy7xb7j DOT fsf AT Rainer DOT invalid> <34039888 DOT post AT talk DOT nabble DOT com> <4FE153DB DOT 1090200 AT gmail DOT com> <34040469 DOT post AT talk DOT nabble DOT com> <4FE176ED DOT 8000803 AT gmail DOT com> <34043774 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

richw writes:
> I believe what needs to be studied is why an access from a remote system
> to an nfs file system before opening a bash prompt causes the automatic
> mount of /usr/bin and /usr/lib to be skipped.

With the most likely problem apparently out of the way, let's look at
the second: when you access the NFS export, three daemons get started
(mountd, nfsd and portmap) under their own account (apparently .\nfs?).
Those should see the following mount points according to cygcheck3.out:

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

and since they appear to be working correctly (but check the logfiles)
one can assume that these mounts are present.

When you run bash before starting the daemons you said you see these
mounts instead:

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)

So there must be an fstab entry that changes /usr/bin and /usr/lib to
user mounts.  What happens if you get rid of those two entries, either
in /etc/fstab or /etc/fstab.d/<user>?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


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