Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

Is there any way to see tmpfs devices mounted under WSL2/Ubuntu2004 from Windows?

$
0
0

I'm trying to run some tests against a large number of small-medium (<10KB) files. Everything is going fine, but now I'm at the point where I want to see what I can do with msys2 and github tools against those tmpfs mounts. Unfortunately I don't see any contents when I navigate to those locations over the local network share:

Windows10 screenshot of /mnt on Ubuntu 20.04

Windows10 screenshot of /mnt/ramdisktest 'this folder is empty'

From within WSL2/Ubuntu, however, you can see that the contents of the tmpfs are not empty:

_☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠_| mattg@MSI:/mnt|☣> cd ramdisktest/_☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠_| mattg@MSI:/mnt/ramdisktest|☣> lltotal 4.0K-rw-r--r-- 1 mattg 143 Feb 18 19:13 testfile_☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠_| mattg@MSI:/mnt/ramdisktest|☣> pwd/mnt/ramdisktest_☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠_| mattg@MSI:/mnt/ramdisktest|☣> cat testfile/home/srv/etc/opt/root/lib/mnt/usr/media/lib64/sys/dev/sbin/boot/bin/run/lib32/libx32/init/proc/snap/tmp/var/lost+found_☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠__☠_| mattg@MSI:/mnt/ramdisktest|☣>

Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>