mounting a shared folder I have on mac (HOST) machine using WSL in a virtualbox Windows (guest)
Solution 1:
You can use Dokan to create a virtual drive, and mirror the contents of your virtualbox shared folder drive to it.
There are some exmaples on the docs: https://github.com/dokan-dev/dokany/wiki/Use-Mirror-example
After that you will be able to mount the dokan virtual drive on wsl using drvfs, something like this:
$ sudo mkdir /mnt/d
$ sudo mount -t drvfs D: /mnt/d