Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to mount and unmount on WSL

📅 2020-Jun-17 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Any drive of any filesystem that is already mounted under Windows can be then mounted under WSL. What makes this possible is a filesystem plugin in WSL named DrvFS.

$ mkdir /mnt/k
$ sudo mount -t drvfs K: /mnt/k
$ cat /etc/mtab
$ sudo umount /mnt/k