finnlennartsson / kpum_noddi

repo for processing of DKI/NODDI data for preterm project at KPUM
0 stars 0 forks source link

Mount external resource in WSL #26

Closed finnlennartsson closed 1 year ago

finnlennartsson commented 1 year ago

Taken from https://superuser.com/questions/1734353/is-there-a-way-to-mount-an-external-drive-when-it-becomes-available-in-wsl

This line can be put in $HOME/.bashrc

wsl.exe -u root -e mount -t drvfs E: /mnt/e > /dev/null 2>&1

NOTE - requires that the external HD E: is attached before starting WSL