Skip to content
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

Update documentation for WSL_DISTRIBUTION_FLAGS for WSL2 #4251

Closed
DDoSolitary opened this issue Jun 30, 2019 · 6 comments
Closed

Update documentation for WSL_DISTRIBUTION_FLAGS for WSL2 #4251

DDoSolitary opened this issue Jun 30, 2019 · 6 comments
Labels
documentation request for documentation improvement

Comments

@DDoSolitary
Copy link

When a distro gets upgraded to WSL2 using wsl /set-version, its Flags registry key is ORed with a new bit flag 0x08, which is not documented for now. It would be nice to have official explanation/documentation for this new flag.

@benhillis
Copy link
Member

@DDoSolitary - We are not going to document internal registry state because it is subject to change.

@DDoSolitary
Copy link
Author

@benhills The registry value isn't internal at all. It's directly exposed via the argument wslDistributionFlags of the function WslGetDistributionConfiguration which is part of the public API.

@benhillis
Copy link
Member

Fair enough. We will update the document when the new flag ships outside of insider builds. FYI setting the flag via that API will not work.

@therealkenc
Copy link
Collaborator

It would be nice to have official explanation/documentation for this new flag.

Next one of these please post over in MicrosoftDocs/WSL.

@Biswa96
Copy link

Biswa96 commented Sep 3, 2019

The lxss registry isn't changed in three years. Why it can't be documented? It may fix many things in simple ways. For example, to move a WSL2 distribution one can move the VHDX file and change the BasePath registry and done. No need to do import/export. Another example, one can parse the lxss registry key and implement their own wsl -l -v style output. Another example, users can change distribution name easily.

Do we have to wait 1 year to get the WSL2 flag?

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation request for documentation improvement
Projects
None yet
Development

No branches or pull requests

4 participants