DEV Community

Discussion on: “Do I Want To Use Windows Subsystem For Linux?”

Collapse
 
vasilvestre profile image
Valentin Silvestre

The biggest problem to work WSL in my opinion is that your FS stay NFS. There's no symbolic link possible with Windows FS and that's really annoying. Most of modern web tools like npm, composer or framework (Symfony cache, assets) will not work.
That said, it's not possible to use WSL for serious work.

Maybe one day if Windows's FS change, but not today..

Collapse
 
jacoby profile image
Dave Jacoby

I keep bin/ and lib/ in Dropbox, using symbolic links to make Dropbox/bin into bin.

jacoby@Lion 10:58 ~
$ ls -l
total 240
lrwxrwxrwx 1 jacoby jacoby     31 Jun 16 16:15 bin -> /mnt/c/Users/jacoby/Dropbox/bin
lrwxrwxrwx 1 jacoby jacoby     31 Aug 10 14:22 dev -> /mnt/c/Users/jacoby/Dropbox/dev
lrwxrwxrwx 1 jacoby jacoby     27 Jun 16 16:15 Dropbox -> /mnt/c/Users/jacoby/Dropbox
lrwxrwxrwx 1 jacoby jacoby     31 Aug 10 14:22 lib -> /mnt/c/Users/jacoby/Dropbox/lib
lrwxrwxrwx 1 jacoby jacoby     19 Jun 16 16:15 win -> /mnt/c/Users/jacoby

I swear and affirm that this works. WSL is a work in progress.

Being said, I do my work on a Linux box and use the Windows for testing.

Collapse
 
vasilvestre profile image
Valentin Silvestre

I was using Docker in my WSL and Postgres, the impossiblity of symlink made my persistent storage unable..

It's maybe something new but my biggest problem was the PostGres docker persistent storage..