From 2f421f1aba5d9ca48cefc71d9dd7387ec6a492c3 Mon Sep 17 00:00:00 2001 From: y-hashida Date: Sun, 22 Jan 2023 07:38:43 +0900 Subject: [PATCH 1/2] Allow non drvfs on wsl environment --- lib/vagrant-sshfs/synced_folder.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/vagrant-sshfs/synced_folder.rb b/lib/vagrant-sshfs/synced_folder.rb index 2c83669..e606d7a 100644 --- a/lib/vagrant-sshfs/synced_folder.rb +++ b/lib/vagrant-sshfs/synced_folder.rb @@ -126,6 +126,12 @@ def find_executable(name) ENV['PATH'] = oldpath return exepath end + + # Enable rsync synced folders within WSL when in use + # on non-DrvFs file systems + def self.wsl_allow_non_drvfs? + true + end end end end From 286ae80622e35e8cdc536aeddaa8b830717b32a7 Mon Sep 17 00:00:00 2001 From: y-hashida Date: Tue, 18 Jul 2023 11:10:10 +0900 Subject: [PATCH 2/2] Fixed comment --- lib/vagrant-sshfs/synced_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-sshfs/synced_folder.rb b/lib/vagrant-sshfs/synced_folder.rb index e606d7a..848ba01 100644 --- a/lib/vagrant-sshfs/synced_folder.rb +++ b/lib/vagrant-sshfs/synced_folder.rb @@ -127,7 +127,7 @@ def find_executable(name) return exepath end - # Enable rsync synced folders within WSL when in use + # Enable sshfs synced folders within WSL when in use # on non-DrvFs file systems def self.wsl_allow_non_drvfs? true