wslutilities / wslu

A collection of utilities for Windows Subsystem for Linux
https://wslutiliti.es/wslu
GNU General Public License v3.0
3.44k stars 155 forks source link

bugfix: sysdrive_prefix returning wrong label when Windows installed at label other than C: #262

Closed epiciskandar closed 1 year ago

epiciskandar commented 1 year ago

Description

My PC have Windows installed at w:/ which would be mounted in wsl at /mnt/w. I found that wslu got wrong path /mnt/c. A bugfix is needed.

Types of changes

Breaking change (fix or feature that would cause existing functionality to not work as expected) are no longer accepted

Checklist:

notice: I've ran all bats tests, but some tests assumed Windows is locating at /mnt/c, so they got fail in my environment, this is not a real problem IMO.