Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 692 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 692 Bytes

wsl-share-fs

Automatically share the filesystem of a distro with other WSL distros.

This is a systemd unit which automates the mounting of the distribution filesystem under the /mnt/wsl folder, which makes it available to other WSL distributions. It runs automatically when systemd starts. (See microsoft/WSL#4654 for how this works.)

Why?

Because I'm tired of doing it manually.

Installation

  1. Set up the WSL Transdebian repository following the instructions here, if you have not already done so.

  2. apt install wsl-share-fs

  3. Either restart WSL, or sudo systemctl start wsl-share-fs.