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
  • "Lazy" bind mounts? Martin Wege via Cygwin
    • Re: "Lazy" bind mounts? Corinna Vinschen via Cygwin

Reply via email to