Czy da się wewnątrz WSL2 utworzyć ramdisk (tmpfs), pewnie się da utworzyć, ale czy będzie on zmapowany z prawdziwą pamięcią RAM mojej fizycznej maszyny?
No tak ale tam jest napisane, że tmpfs będzie używał systemu plików, a nie RAM-u
[EDIT] As @Nik found, tmpfs in WSL is currently mapped to filesystem. At command line level it works as it is mapped in RAM, but it is actually mapped to filesystem. So, take care of this caveat until it is implemented as one would assume.
#linux #windows #programowanie #wsl #devops
Tutaj dokladnie opisane: https://www.github.com/microsoft/WSL2-Linux-Kernel/tree/master/Documentation%2Fblockdev%2Framdisk.txt
No tak ale tam jest napisane, że tmpfs będzie używał systemu plików, a nie RAM-u
[EDIT] As @Nik found, tmpfs in WSL is currently mapped to filesystem. At command line level it works as it is mapped in RAM, but it is actually mapped to filesystem. So, take care of this caveat until it is implemented as one would assume.