I have the windows 10 Dev channel insiders preview (technically it's windows 11), I usually mount my ssd ext4 drives manually for wsl2
The goal: sometimes when you have something that won��t work on windows and you want it always to work on wsl2 it becomes tedious to redo the same thing over and over, that is why I would like to automate mounting ext4 fs devices to wsl2 with no interaction from me in the powershell, is that possible?
Background: I'm totally new to powershell, and still in the very basics, I'm not planning to waste lot of time on it, because I do have work to do and I have a goal to achieve, forgive my lack of knowledge in windows, I'm a mac and linux guy, but curiosity is a key for learning.
The problem: I wonder if there is any command that is similar to the command df -Th
in linux, that shows all filesystem types either supported by windows like "NTFS/FAT32/FAT16/EXFAT/etc..." or unsupported as "EXT4/EXT3/EXT2/Any other linux based fs type".
df -Th
sample result:
img: https://linuxhandbook.com/content/images/2020/06/screenshot_7-1.png
I don't have enough reputation to post it... Image Source
Least Expected behaviour: I want the result to show ext*, basically I wonder if there is a way to distinguish a linux drive in powershell.
Result structure doesn't matter of how it's displayed, either json or table or list or plain text, no problem as long as I get any valuable result regarding filesystem type.