This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bind mounts in fstab
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Mon, 8 Jun 2015 10:39:05 +0000 (UTC)
- Subject: bind mounts in fstab
- Authentication-results: sourceware.org; auth=none
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