A few random thoughts: - Wow, hell is really freezing over! - The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c). - If you just wanted bash and some posix tools, the harder but nic…
> It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c). I wonder if this Unix filesystem layer will be able to break the Windows legacy path length limit. If so, the Linux version of Node.js will suddenly become much more useful than the Windows version. > It remains to be seen if this is better (more performant) or worse Sounds like performance, at least, will be…
Ubuntu on Windows
81–90 of 933 posts
Re: Ubuntu on Windows
#82https://en.m.wikipedia.org/wiki/Windows_Services_for_UNIX
It blew my mind at the time, but it was kind of a pain and I didn't stick with it. I don't remember why.
I guess this is about same thing, only its Linux instead of some other sort of UNIX.
Re: Ubuntu on Windows
#83Earlier quoted context omitted.
Windows NT had a POSIX subsystem awhile ago, not sure what happened to it. The NT Kernel was designed to have different personalities like Win32, OS/2, POSIX, etc It could be an updated version.
I came here to make the same comment. Its ironic (old)microsoft exerted so much effort to put the personalities in place (OS/2, posix etc), then (mid)microsoft systematically destroyed that work under Balmer, and now (new)microsoft are reimplementing the same thing under a (seemingly) completely different system.
Re: Ubuntu on Windows
#84Earlier quoted context omitted.
The performance hit is so negligible on modern hardware that the distinction doesn't really matter.
Except, it does matter. Not having a unified filesystem, not having a unified window manager, etc are quite some issues.
Re: Ubuntu on Windows
#85How in God's green earth did Canonical think helping Microsoft with this was a good idea for the Linux community?
Re: Ubuntu on Windows
#86What is up with the unix-y directory structure in this screenshot? http://o.aolcdn.com/dims-global/dims3/GLOB/resize/1345x666/q... It's been a while since I've used Windows but I'm pretty sure it doesn't have a unix directory structure... is it the case that they map / to a folder inside windows?
Yes, as mentioned in the article, / on the Linux side maps to C:\Users\...\AppData\Local\Lxss\rootfs\, and C:\ on the Windows side maps to /mnt/c/ on the Linux side. Think of it as an Ubuntu chroot on Windows, with C:\ bind-mounted into the chroot.
Re: Ubuntu on Windows
#87Re: Ubuntu on Windows
#88Are posix permissions supported/emulated? Or are they set to 777 for all Windows drives in /mnt like shared folders in a VM?
Yeah, that's something that really interests me. Likewise I want to know how extended attributes and streams are mapped.
Re: Ubuntu on Windows
#89Re: Ubuntu on Windows
#90microsoft is leveraging FOSS Linux to get Mac users. I think it's a real smart move. The author points to using grep and Xargs and some other tools to quickly update a package. That's the key here. These bash/Linux utilities are productivy boosters for all the Linux and Mac/bsd people out there. I can't imagine living without them and they're necessary for any system I develop on (which is currently a Mac).