Mount removable drives and network locations in the Windows Subsystem for Linux

You can mount a removable device or mounted network drive by using drvfs:

sudo mkdir /mnt/x
sudo mount -t drvfs X: /mnt/x

Or you could use UNC (Universal Naming Convention) format to mount:

sudo mkdir /mnt/folder
sudo mount -t '\\server\folder' /mnt/folder

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.