My development environment on Windows includes substed folders, i.e. the folder c:MyBuild may be substed to a drive letter, say t:
In a Ubuntu subsystem terminal, I can bind the folder to a mount, as this
sudo mount --bind /mnt/c/MyBuild /mnt/t
This works fine in the current shell, but its not persistent, and if a bash script is invoked externally, this mount is not present, and so the script may fail saying, folder/mnt/t/someFolder don’t exist..
I did add the following to /etc/fstab, but its not working as expected
/mnt/t /mnt/c/MyBuild none defaults,bind 0 0
How can I make this mount persistent in Windows Ubuntu subsystem?