S
S
symnoob2019-08-03 08:18:38
linux
symnoob, 2019-08-03 08:18:38

What packs do not rummage on WSL with Windows?

What folders are not rummaged on WSL with Windows?
I wanted to put lamps for development, and make it all work faster. I would like to write cache there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mysterion, 2019-08-04
@symnoob

If WSL is the first version, then one way or another, the files will be available in Windows. Because the first WSL is just a virtual container. Similar to OpenVZ or LXC.
The second WSL is already a hyper-v virtual machine and the files are all inside it. If you want to be like in the second WSL, but don't want to wait - welcome to the insider preview.
If you need the first WSL, then write the cache paths relative to the container. Well, something like: / var / cache or / tmp / cache
Will be inside, but still available from Windows. It won't work any faster. The same and so and so.
It still makes sense. The cache is not needed in the development environment and even more so on Windows if LAMP is inside the container. Let the cache be there. And if you need everything to be fast, push the cache into memory, not onto disk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question