delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 44EC938618BC |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1701422315; | |
bh=9x2y9+KXShIP3NTLD4blKEVv9EbUE8UCK4nd4vvgySI=; | |
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=To2tN3KXW0BiCkoKJhbX22VLjemv1pPhTBDOBNTDIWlZy36gtOkN7IRXmhv2rRFFt | |
1on2hP+ZQ63nX9VFRuFcXGwF2sT0mG7glglUnsgcyOqNPc9spN038i1nPn5DTr35sg | |
Kde6p4YhwS7tK9OCWkwRTQv+ewVqzEfChsCkioO8= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 51A7D385AC22 |
Date: | Fri, 1 Dec 2023 10:18:16 +0100 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: "Lazy" bind mounts? |
Message-ID: | <ZWmk2KgDQgoBEUb7@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CANH4o6MZ05+tTr+eNF_zyYfTQ-P8WQwb0ozMY4QRSE4EDj57HA AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CANH4o6MZ05+tTr+eNF_zyYfTQ-P8WQwb0ozMY4QRSE4EDj57HA@mail.gmail.com> |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Nov 30 04:53, Martin Wege via Cygwin wrote: > Hello, > > if I do a mount -o bind //foo/bar/baz /mnt the UNC path //foo/bar/baz > is evaluated immediately, i.e. the network share //foo/bar/baz is > "mounted" immediately. > > Is it possible to mount //foo/bar/baz only the first time someone does > a cd /mnt, sort of automounter-style "lazy" mount-on-demand? No, what would that be good for? Cygwin mounting is not real mounting, that's what the OS is doing. Therefore, Cygwin mounts are "soft" mounts anyway. They are only used during path evaluation, and only if the path starts with a matching string. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |