Mount Windows Drive in WSL

Mount Drives in a Persistent Manner

  1. Ensure the folder exists for the mount target (e.g. /mnt/m)
  2. Open /etc/fstab and add a line such as the following:
M: /mnt/m drvfs defaults 0 0
  1. Mount the drives in /etc/fstab with sudo mount -a