delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/08/06:39:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Eff
rwQUp70FG+aUQi94eTkd+pp/yNoeWyCFfFgngxGX5LpfmxhEDVAkmYWuaIW7qsFS
sgGH+FGHXx7De/GJUlpwyDCI+IK/R21TfEADpFXDKl5uc0rq5bOXhU4S7yvuBCzO
Dpxmr+1wStJ1ZHEB1gjNiLhJPyNu1s8rhltDXGd8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=MGHIgMTsb
loB9hebeRJIUT73dCQ=; b=OqUaL4MG6bJSRxb+qjhgo/q1iW+jaGeVD8/ap174E
a4a6lsRAUbY74IXVtVkp/jm+CWdza9wu+kIui39P9tSlOZ4QYT5/+t2iI6yYy9jZ
v/I3jGxfFyIs0i3UEVebJSJ7UJ02rZw+9XaPzwx3Yf598/A82/G79TzxPZh5ZKLr
9A=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_05,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: bind mounts in fstab
Date: Mon, 8 Jun 2015 10:39:05 +0000 (UTC)
Lines: 21
Message-ID: <loom.20150608T122736-327@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

I've been using bind mounts to provide alternative paths into the same file
system.

//server/some/directory /mnt/server-share none binary 0 0
#bind mounts
/mnt/server-share/some/other/directory /mnt/task1 none, binary,bind

That works well until I try to add another such bind mount and activate it
via 'mount -a' without starting a new Cygwin session.  Cygwin tries to
create a mount to the underlying local directory of /mnt/task1 instead of
binding, which doesn't work of course.  I can manually mount the directory
the way I want if I simply use the full external path (that's what happens
anyway if I restart the session).

Is there something wrong with the way bind mounts currently work or should I
just not use them and mount the same external share multiple times (that is
the result anyway)?


Regards,
Achim.


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