-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drvfs support for \\?\ #12257
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging |
/feature |
Diagnostic information
|
@Hawk777: The best way to achieve this would to use wsl --mount, which can mount a block device directly into WSL (drvfs only allows mounting of mount points inside WSL, not block devices). |
@OneBlue That doesn’t seem to work:
Adding I also tried creating a symlink to the shadow copy with |
This command line look like the closest to actually work:
Is the device used anywhere else ? WSL needs exclusive access to mount it via wsl --mount |
@OneBlue Here’s a complete transcript. I powered up, logged in to get a desktop, started an elevated powershell, and did this and nothing else:
|
Oh, on further investigation, I see why that didn’t work: |
@OneBlue well I did find a workaround. WSL can’t follow a symlink to a |
Is your feature request related to a problem? Please describe.
I’m trying to mount a volume shadow copy in Linux. It’s annoying that I currently have to use an old copy of
dosdev
that I found lying around the Internet to give it a drive letter, then mount the drive letter in Linux.Describe the solution you'd like
I would like to be able to run either
mount -t drvfs '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy15' /mnt/foo
ormount -t drvfs '\\?\Volume{734851c5-4fc4-49f6-9632-7528f855a702}\' /mnt/foo
in Linux. Other people presumably will have other uses for\\?\
unrelated to shadow copy.The text was updated successfully, but these errors were encountered: