delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/20/15:23:58

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 21:23:25 +0200
Lines: 35
Message-ID: <874nq5eqj6.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> <87wr31ew3h DOT fsf AT Rainer DOT invalid> <34044734 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 modified /etc/exports to read
> / (ro,no_root_squash)
> /usr/bin (ro,no_root_squash)
> /usr/lib (ro,no_root_squash)
> and then tried a mount.
> I was surprised that I could not mount /usr/bin, but I could mount /bin.
> (Is that correct? Why?)

It probably means that /usr/lib and /usr/bin aren't mounted as far as
the daemon is concerned.  You can mount /bin since it is a subtree of /
(you should also be able to mount /etc if that hypothesis holds true).

I think that something in the registry is amiss, more specifically if
you log in as yourself you will see the correct built-in mount table in
HKCU and Cygwin mounts them, but if the service user logs in it doesn't.
You only seem to have a system installation key, whereas my cygwin has
both a system and user key.

Then when you later start bash Cygwin already thinks it has everything
mounted when it hasn't.  I suspect you did install Cygwin only for "Just
Me" instead of "All Users".  If so, that is fixed by running setup again
and change this option to "All Users".  If that's not the reason, the
quick fix would be to just provide the standard mount points in
/etc/fstab and then figure out what's going wrong with the registry
later.


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

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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