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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: bind mounts in fstab Date: Mon, 8 Jun 2015 10:39:05 +0000 (UTC) Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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