Live data from Hacker News

File System Improvements to the Windows Subsystem for Linux

blogs.msdn.microsoft.com

61–70 of 108 posts

Re: File System Improvements to the Windows Subsystem for Linux

#61

What would be a good X11 server to use? Are there any that support the full stack? (shm, glx, etc.)

Haven't used LXSS in a while but my X11 of choice for Windows was VcXsrv: https://sourceforge.net/projects/vcxsrv/

Just export $DISPLAY to :0 (AFAIK) and you're all set.

Re: File System Improvements to the Windows Subsystem for Linux

#62
post #58

WSL is really interesting. I switched to the Mac in 2006 but I’ve never really used the fact it’s built on Unix much because it’s so different and frankly outdated comparede to the Linux systems I work on. When I want to do ‘Unixy’ stuff at home I run a Linux VM in VirtualBox. But WSL seems to offer the best of both worlds – a solid mature desktop environment with plenty of well supported professional level apps and…

Likewise - except for me it's been 15 years. Switched over in 2001, and didn't look back. Running WSL creators edition is really a delight. It's not quite there yet - still has a year or two to bake - but the progress is great. They just added serial support yesterday (which is important for a bunch of the linux binaries I run). For the very first time I'm honestly considering sitting down to a Windows System to do work - I never thought I would have said that - I've got * nix in my finger DNA, so powershell, despite being incredibly powerful, just never managed to get into my workflow.

But now - It's best of both worlds - solid User Environment + Solid Unix CLI. Even better, it's a linux CLI, which means I get all the apt-get goodness that I've been missing on OS X (which admittedly has a pretty good brew install infrastructure).

Re: File System Improvements to the Windows Subsystem for Linux

#63

What would be a good X11 server to use? Are there any that support the full stack? (shm, glx, etc.)

> What would be a good X11 server to use? Are there any that support the full stack? (shm, glx, etc.) I recall using exodus in the past (at uni), but it's commercial (pricey). Not to mention these days it seems to be Mac only. From similar threads I've seen recently, and quick searching, it seems Xming is the preferred Windows-option these days: https://sourceforge.net/projects/xming/

The free version of Xming does not implement several things properly. Not sure which but some applications haven't run properly. There is a charityware version but I can't find my license for it.

MobaXterm is another free version, It's a term emulator with an X11 server, but you can just turn it on and ignore the term. It runs all the applications Ive found that the free Xming cant.

Re: File System Improvements to the Windows Subsystem for Linux

#64

I wish there was a way to get lxss updates without being a Windows Insider. I turned on Insider on my brand new laptop last summer and it immediately overwrote some vendor-supplied drivers by newer-but-broken ones. Result: no sound. I didn't manage to fix it except through a full reinstall. Now that's exactly the sort of problem you need to prepared for when doing the Insider thing, but it sortof ruins the point. I w…

I'm pretty certain I had WSL running on my system without being a member of Windows Insider. You just need to turn that on if you want to be on the Fast Track...

Parent said WSL updates. You can get WSL but in order to get updates like this one you need Insider builds.

Re: File System Improvements to the Windows Subsystem for Linux

#65

Network filesystems! That's the last big feature I've been needing for regular use of WSL for light tasks. There's still enough weird behavior I wouldn't look at WSL as a complete Linux replacement, but it sure is a lot nicer than Cygwin/msys2. They don't say anything about FUSE, I wonder if this work is at all related?

I am pretty sure this update does not add FUSE support. FUSE would add the ability to use SSHFS, which is the network file system support I'm interested in. If FUSE would be useful to you, please vote for it at https://wpdev.uservoice.com/forums/266908-command-prompt-con...

There is a Windows-native SSHFS client[1]. I have it installed on a Win10 VM so can confirm it "works" albeit I haven't needed to use it for anything so cannot confirm how well it works.

[1] https://github.com/Foreveryone-cz/win-sshfs I think is the currently maintained version but you're welcome to confirm that independently.

Re: File System Improvements to the Windows Subsystem for Linux

#66
post #23

Last time I tried to use the Windows Subsystem for Linux it was a mess. I thought I could access my files from windows and messed all the filesystem. Now it looks like I can freely exchange my files between the WSL and Windows. Is it true? Do I finally have a linux inside a windows machine where I can install things using apt-get (instead of cygwin setup.exe)? When will it goes into the official Windows 10 version?

I wonder about this too.

I know that apt-get works since earlier instead of the terrible Cygwin distribution model, but yes, IIRC there are NTFS streams being used for the Linux file system metadata IIRC and if these get overwritten or somehow modified things go bad. And NTFS streams being a somewhat uncommon NTFS feature, some applications don't handle them well?

On the other hand, wasn't a new Windows 10 Creators Update feature that you could now indeed edit the files from Windows, and not just from the Linux subsystem? And that the Linux tools such as web servers are now even notified when the files change so they can reload them automatically? I'm not sure how they solve the metadata borking issue though, in that case.

Re: File System Improvements to the Windows Subsystem for Linux

#67
post #58

WSL is really interesting. I switched to the Mac in 2006 but I’ve never really used the fact it’s built on Unix much because it’s so different and frankly outdated comparede to the Linux systems I work on. When I want to do ‘Unixy’ stuff at home I run a Linux VM in VirtualBox. But WSL seems to offer the best of both worlds – a solid mature desktop environment with plenty of well supported professional level apps and…

Likewise - except for me it's been 15 years. Switched over in 2001, and didn't look back. Running WSL creators edition is really a delight. It's not quite there yet - still has a year or two to bake - but the progress is great. They just added serial support yesterday (which is important for a bunch of the linux binaries I run). For the very first time I'm honestly considering sitting down to a Windows System to do w…

For me at least the big problem is malware. Running Arch Linux means I do not need to worry about malware. Ransomware. Crap like that. Yes, I am a reasonably experienced computer user and it's quite unlikely I would click anything "wrong" but not having to worry about a single bad click causing hours of recovery is a big plus.

Edit: while I understand downvotes I would be much happier if you'd educate me where I am wrong.

Re: File System Improvements to the Windows Subsystem for Linux

#68
post #45
post #44

Windows subsystem for Linux? Or the Linux subsystem for Windows? These names are confusing...

Microsoft also has an Android emulator for Windows.[1] One would think that would run into licensing problems. [1] https://www.visualstudio.com/vs/msft-android-emulator/

Sorry but I'm not sure I understand your point?

Android is Apache 2.0 with the Linux / GNU parts retaining their respective GPL licence. Microsoft are distributing the OS for free, which is allowed within the terms of Android's licencing and something that is done by many other organisations including Google themselves.

Re: File System Improvements to the Windows Subsystem for Linux

#69
post #44

Windows subsystem for Linux? Or the Linux subsystem for Windows? These names are confusing...

I was also confused by their ancient product "Windows Services for UNIX", which does not run on Unix.

https://en.wikipedia.org/wiki/Windows_Services_for_UNIX

Re: File System Improvements to the Windows Subsystem for Linux

#70
post #26

Java still doesn't work properly though =(. "mvn clean package" on one of corporate projects takes about 5 to 8 minutes in native java on Windows or Mac and it takes more than one hour in WSL. I had so much hope for WSL that I would finally have only ONE device (surface), but no, we're not there yet.

NTFS is soooo slow when dealing with lots of small files.
Post reply on HN