Today at
Build , Microsoft will talk about the latest innovations made in the new build of Windows 10 Redstone. Shortly before the presentation, it became known that Canonical employees were invited to the conference, and for good reason.
The fact is that Microsoft, together with Canonical, managed to integrate the Ubuntu operating system into Windows 10 (something like an emulator).
Dustin Kirkland, an employee of the Ubuntu Product and Strategy group, spoke at the conference about this project (
videotape ), and even earlier he posted
several spoilers on his blog.
')
“This is a bit strange for me,” Dustin writes, “because I have not used Windows for about 16 years. But everything changed a couple of months ago, when I plunged into a top-secret (and absolutely incredible) project between Microsoft and Canonical, which
Kevin Gallo announced today in his opening speech. ”
So, in the new build of Windows 10, the Ubuntu user space and the bash shell work natively in the cmd.exe console!
It works as follows.
- Windows 10 user
- Opens the Start menu.
- There is typing "bash" [enter]
- Then the cmd.exe console opens.
- Running / bin / bash from Ubuntu
- With full access to the entire Ubuntu user space
- Yes, there is apt , ssh , rsync , find , grep , awk , sed , sort , xargs , md5sum , gpg , curl , wget , apache , mysql , python , perl , ruby , php , gcc , tar , vim , emacs , diff , patch ...
- And most of the tens of thousands of binary packages in the archives of Ubuntu!
Dustin Kirkland says that this is not a virtual machine, no containers, and not Cygwin, but something like an emulator, where Linux system calls in real time are translated into Windows system calls. Windows 10 now uses Ubuntu 14.04 LTS.
Microsoft calls it "Windows Subsystem for Linux" (the source code is still closed).
Call
forwarding is very efficient: the
sysbench utility shows almost the same performance of CPU, memory and I / O operations.
All logical drives, like C :, are mounted for reading and writing in the / mnt directory, that is, / mnt / c, / mnt / d, etc. Conversely, the Ubuntu file system is available through Explorer in C: \ Users \ Kirkland \ AppData \ Local \ Lxss \ rootfs \.
From the “Linux subsystem” ssh starts up normally.
Of course, while there are some glitches, especially with tty and vt100.
Byobu ,
screen and
tmux do not work very well. But anyway, Microsoft and Canonical did a great job, what is possible.