Created
January 12, 2022 18:51
-
-
Save Kvieta1990/c623bfd70ba651a0ce62350caf861367 to your computer and use it in GitHub Desktop.
WSL mount Windows drive configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically mount Windows drive when the distribution is launched | |
[automount] | |
# Set to true will automount fixed drives (C:/ or D:/) with DrvFs under the root directory set above. Set to false means drives won't be mounted automatically, but need to be mounted manually or with fstab. | |
enabled = true | |
# Sets the directory where fixed drives will be automatically mounted. This example changes the mount location, so your C-drive would be /c, rather than the default /mnt/c. | |
# root = / | |
# DrvFs-specific options can be specified. | |
options = "metadata,umask=000,fmask=011,case=off" | |
# Sets the `/etc/fstab` file to be processed when a WSL distribution is launched. | |
# mountFsTab = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment