Skip to content

Instantly share code, notes, and snippets.

@Kvieta1990
Created January 12, 2022 18:51
Show Gist options
  • Save Kvieta1990/c623bfd70ba651a0ce62350caf861367 to your computer and use it in GitHub Desktop.
Save Kvieta1990/c623bfd70ba651a0ce62350caf861367 to your computer and use it in GitHub Desktop.
WSL mount Windows drive configuration
# 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