Jump to content

Microsoft Launches “Huge Improvements” for Ubuntu Bash in New Windows 10 Build


Batu69

Recommended Posts

The Windows Subsystem for Linux gets plenty of updates

microsoft-launches-huge-improvements-for

   Microsoft keeps improving Ubuntu Bash on Windows 10

 

Microsoft rolled out Windows 10 build 14361 to insiders part of the fast ring a few hours ago, and in addition to several important goodies for Windows users, there are also new improvements for those who’re interested in the Ubuntu bash on Windows.

In an announcement today, Microsoft reveals that build 14361 brings “huge” changes to Bash on Ubuntu on Windows, including support in WSL for Pseudo Terminals (PTY), which leads to adding support for Tmux.

Additionally, with this release, Redmond is making DrvFs case sensitive in Bash, so there’s finally a difference between files such as case.txt and CASE.TXT, which can both be stored on /mnt/c drives.

What’s very important to note is that case sensitivity only works in Bash on Windows, so if you attempt to use it anywhere else, NTFS will report the files correctly, but “unexpected behavior may occur,” as Microsoft itself explains.

Additionally, users can now delete and chmod read only files from DrvFs, allow connection to 0.0.0.0 and :: as localhost, and opt out of auto-generated hosts file.

There’s more to discover in this new build, but if you want to check out all changes, have a look in the box after the jump to see the full release notes.

How to enable Ubuntu Bash on Windows

If you’re a new user who hasn’t activated Bash in Windows 10, you just need to follow a few simple steps to do it, and it doesn’t take more than a few minutes.

First and foremost, you need to turn on the Developer Mode, so open the Settings app and go to Update & Security > For developers. Then, you need to enable the Windows Subsystem for Linux, so click the Start button, open the classic Control Panel, go to Programs, and then click the option that reads “Turn Windows features on or off.” Look for the Windows Subsystem for Linux (Beta) and enable it.

The final step is to open a command prompt window with administrator privileges and type bash to start the installation process and get everything ready.

Bash Improvements In 14361
Fixed
  • DrvFs is now case sensitive when running in Bash on Ubuntu on Windows.
    • Users may case.txt and CASE.TXT on their /mnt/c drives
    • Case sensitivity is only supported within Bash on Ubuntu on Windows. When outside of Bash NTFS will report the files correctly, but unexpected behavior may occur interacting with the files from Windows.
    • The root of each volume (i.e. /mnt/c) is not case sensitive
    • More information on handling these files in Windows can be found here.
  • Greatly enhanced pty / tty support. Applications like TMUX now supported (GH #40)
  • Fixed install issue where user accounts not always created
  • Optimized command line arg structure allowing for extremely long argument list. (GH #153)
  • Now able to delete and chmod read_only files from DrvFs
  • Fixed some instances where the terminal hangs on disconnect (GH #43)
  • chmod and chown now work on tty devices
  • Allow connection to 0.0.0.0 and :: as localhost (GH #388)
  • Sendmsg/recvmsg now handle an IO vector length of >1 (partial GH #376)
  • Users can now opt-out of auto-generated hosts file (GH #398)
  • Automatically match Linux locale to the NT locale during install (GH #11)
  • Added the /proc/sys/vm/swappiness file (GH #306)
  • strace now exits correctly
  • Allow pipes to be reopened through /proc/self/fd (GH #222)
  • Hide directories under %LOCALAPPDATA%lxss from DrvFs (GH #270)
  • Better handling of bash.exe ~. Commands like “bash ~ -c ls” now supported (GH #467)
  • Sockets now notify epoll read available during shutdown (GH #271)
  • lxrun /uninstall does a better job of deleting the files and folders
  • Corrected ps -f (GH #246)
  • Improved support for x11 apps such as xEmacs (GH #481)
  • Updated initial thread stack size to match default Ubuntu setting and reporting the size correctly to the get_rlimit syscall (GH #172, #258)
  • Improved reporting of pico process image names (e.g., for auditing)
  • Implemented /proc/mountinfo for df command
  • Fixed symlink error code for child name . and ..
  • Additional improvements bugfixes and improvements

Syscall Support

GETTIMER
MKNODAT
RENAMEAT
SENDFILE
SENDFILE64
SYNC_FILE_RANGE

 

Article source

Link to comment
Share on other sites


  • Replies 1
  • Views 874
  • Created
  • Last Reply

Ubuntu  is crap, that's all it's good for is windows 10 .. Ubuntu 16.04 versions  gave  me nothing but problems  on my AMD  machine..  Tt don't even want to run , AMD has no drivers for it.  Installed Manjaro Linux  16.06 and put  Cinnamon desktop on it,  it has newer packages than Ubuntu does and all new kernels  are working  with AMD proprietary drivers  . And no more having to fool with adding 3rd party PPA  . Ubuntu is Linux for Noobs i out grew it  because it not stable on most AMD boxes  and having to hunt for ppas to get updated packages. :P

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...