[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    "Lazy" bind mounts?
From:       Martin Wege via Cygwin <cygwin () cygwin ! com>
Date:       2023-11-30 3:53:37
Message-ID: CANH4o6MZ05+tTr+eNF_zyYfTQ-P8WQwb0ozMY4QRSE4EDj57HA () mail ! gmail ! com
[Download RAW message or body]

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?

Thanks,
Martin

-- 
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic