how to set mount posix=1 option for an existing bind mount?
Tue Aug 8 18:53:15 GMT 2023
On Aug 8 16:52, Cedric Blancher via Cygwin wrote:
> Good afternoon!
> How do I set mount posix=1 option for an existing bind mount? mount -o
> remount does not work.
Did you read https://cygwin.com/cygwin-ug-net/mount.html?
Mount points created by mount(1) only exist in the current user session,
and they will disappear with the last process of that user.
Our mount(1) doesn't support remount, so you have to unmount and mount
again. Again, this only affects the current user session, not other
users on the system.
Last but not least, posix=1 is default and is not shown in the output
of mount(1). Only posix=0 will be printed. So this:
C:/foo on /home/bar type smbfs (binary,user,bind)
means the mount point is mounted with posix=1.
More information about the Cygwin