"Lazy" bind mounts?

Martin Wege martin.l.wege@gmail.com
Thu Nov 30 03:53:37 GMT 2023


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


More information about the Cygwin mailing list