-
Notifications
You must be signed in to change notification settings - Fork 837
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
Cannot safely remove external USB HDD if WSL Linux services are running #2860
Comments
I think the problem isn't the Linux services proper, per-se (let's say What is non-obvious is that Linux services are still there, as of 17046 "Allow processes to run without an active terminal" and in the case of some Linux GUI apps, get auto-launched. As you say, that is pretty much by-design territory.
Yeahbutt, that is the GUI experience on the Windows side too. If you have something holding I think, probably, the real solution here is support for auto-unmount. Previous to 17046 your |
I like that you mentioned the auto-unmount idea. Have slim hopes for this because you said it is a "pretty big ask" though having this issue around should at least point and say "hey, you could have to terminate all WSL processes before safely removing your X/Y/Z drive". |
Automount units are supported by systemd, if support is ever added, but this is basically intended behavior. |
Let's call this #560 for the sake of closure. The OP is either by-design (which isn't constructive tag to give this) or "Windows error message should suckless" (which isn't a WSL actionable). This issue will show up in a web search either way. Completely understandable post. |
Your Windows build number: Build 17063.1000
What you're doing and what's happening:
Linux processes should not block external USB drives like that. I know this is by design because external USB drives are mounted as regular drives into Linux namespace (/mnt/y). But this is not obvious to Windows users and there is no helpful hint by the GUI as to what could be having the handle into the drive.
The text was updated successfully, but these errors were encountered: