Hello, I just began using WSL2 in Windows 10. I installed Ubuntu 20.04 to play around with it and am having trouble listing the Volumes on the machines. -- Granted, I know that Ubuntu is running in a virtual machines, and not the actual physical device, but I'm wondering if there is a way to list the actual volumes with something like df -h?
*** Clarification: df -h does list the local volumes, but not any USB devices attached to the machine. I would like to also see the external devices (i.e. /dev/disk3... ) ***
On my Mac OS (Unix) I can use diskutil list and it shows me the volume names (i.e /dev/disk1 and /dev/disk2... etc. I can also do that with df -h and see the volume names /dev/disk1 and /dev/disk2... and so on.
So, why can't that be done within WSL2 in Windows 10?
From what I understand Windows 11 allows for that functionality, So why not in Windows 10 or is there a way to do it in W10?
not sure if i'm missing something but doing df -h in WSL in windows 10 does show the local drives with free space
it shows the drive letter under file system and the mountpoint (under /mnt)