bind mounts in fstab

Achim Gratz Stromeko@NexGo.DE
Mon Jun 8 10:39:00 GMT 2015


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



More information about the Cygwin mailing list