diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index 1ec14819c..c8658e185 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -554,6 +554,7 @@ module Vagrant # Get list of local mount paths that are DrvFs file systems # # @return [Array] + # @todo(chrisroberts): Constantize types for check def wsl_drvfs_mounts if !defined?(@_wsl_drvfs_mounts) @_wsl_drvfs_mounts = [] @@ -561,7 +562,7 @@ module Vagrant result = Util::Subprocess.execute("mount") result.stdout.each_line do |line| info = line.match(MOUNT_PATTERN) - if info && info[:type] == "drvfs" + if info && (info[:type] == "drvfs" || info[:type] == "9p") @_wsl_drvfs_mounts << info[:mount] end end