Skip to content

Commit 8e731a5

Browse files
Add WSL mount script and configuration for automount and systemd support
1 parent dd72726 commit 8e731a5

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

win/wsl/mount.vbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Set objShell = CreateObject("WScript.Shell")
2+
objShell.Run "cmd /c wsl.exe --mount \\.\PHYSICALDRIVE0 --type ext4 >nul 2>&1", 0, True

win/wsl/wsl.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[automount]
2+
mountFsTab = false
3+
4+
[boot]
5+
systemd=true
6+
command=/usr/local/bin/mount-data.sh
7+
8+
[interop]
9+
enabled = true
10+
appendWindowsPath = true
11+
12+
[user]
13+
default=fridrichmethod

0 commit comments

Comments
 (0)