Réduire son volume WSL2 (car il ne fait que grossir sans jamais rendre l'espace à Windows)
wsl --shutdown
diskpart
select vdisk file="C:\WSL-Distros\…\ext4.vhdx"
C:\Users\fanch\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\LocalState\ext4.vhdx
attach vdisk readonly
compact vdisk
detach vdisk
exit
Open issue: WSL 2 should automatically release disk space back to the host OS · Issue #4699 · microsoft/WSL
https://github.com/microsoft/WSL/issues/4699#issuecomment-627133168
(A tester...)
Un systemd sous debian via WSL : genie
Car non, systemd n'est pas utilisable out-of-box sous Debian via Windows SubSystem Linux.
Voici l'erreur avec un systemd natif :
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down