I wonder what implications this has for SSH for PowerShell... Microsoft were originally planning to release native SSH in PowerShell this summer. But now it seems redundant when you could just use Bash anyway...
Ubuntu on Windows
191–200 of 933 posts
Re: Ubuntu on Windows
#192A 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…
MAX_PATH in Windows = 260
Path to Linux file system root from Windows user space:
"C:\Users\\AppData\Local\Lxss\rootfs\" - about 45 chars
Max depth reachable from Windows user space = 260 - 45 = 215
Re: Ubuntu on Windows
#193To clarify, it sounds like what Microsoft has added to Windows 10 is a Linux ABI. This has been done before with other x86 OSes: FreeBSD has had 32-bit ABI compatibility for at least a decade ( https://www.freebsd.org/doc/handbook/linuxemu.html ), and the "lx branded zone" for Solaris has it as well ( https://docs.oracle.com/cd/E19455-01/817-1592/gchhy/index.ht... ).
You can't use lx-branded zones in Solaris anymore, but SmartOS has revived and continued the project, and OmniOS has started porting the bits into their distribution, too.
Re: Ubuntu on Windows
#194Answers I've received before is "it can call the native API", but any program can call the native API. So, what's in a subsystem?
Re: Ubuntu on Windows
#195Earlier quoted context omitted.
NT shipped w/ a POSIX subsystem. Later, Microsoft acquired Interix ( https://en.wikipedia.org/wiki/Interix ), a more fully-featured POSIX subsystem. I have fond memories, in the late 1990's, of running GNU tools on NT under Interix.
Same here. It's like everyone forgot there was such a thing as SFU/SUA. I found it much more pleasant to work with than Cygwin.
Well, it's not like Microsoft made much of an effort to remind people. It was discontinued as a separate project after about Windows XP. It continued to be part of Windows Server[1], but AFAIK, it was no longer present in the client versions.
[1] at least until 2008 or 2008 R2, I didn't check later versions.
Re: Ubuntu on Windows
#196microsoft 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).
(unless I am missing something)
But it would make sense that certain things should be doable on literally any computer. grep, find, vi, edit, etc... etc... I cant come up with a complete list - but it would be great to start that direction.
Re: Ubuntu on Windows
#197Re: Ubuntu on Windows
#198I am a little annoyed at myself. One of my 5 laptops is a HPStream 11 that was running Windows 10 until a few months ago when I wiped the disk and installed Ubuntu. Windows 10 is not bad at all, and I would have enjoyed keeping a Windows 10 machine handy with the new Ubuntu user land support.
Re: Ubuntu on Windows
#199Earlier quoted context omitted.
Why not move to Linux?
Just out of curiosity, what does a Linux desktop offer that's not also natively offered in Mac and also highly polished? Every year I try a switch to Linux desktop. This year I made it as far as trying to get multiple monitors working well. I also dabbed in gaming. In the end I went back to my work=Mac game=Windows duopoly.
The whole python ecosystem is also better on Linux overall.
Anything strictly desktop-oriented is better on OSX of course.
Re: Ubuntu on Windows
#2001. embrace
1. Embrace is good. 2. Extend can be good if done openly and collaboratively, as opposed to closed and hidden. 3. Extinguish - Here be dragons. I'm hopeful the New Kinder Gentler Microsoft stays on steps 1. and 2. (done collaboratively).