vissha Posted November 21, 2016 Share Posted November 21, 2016 Microsoft: Don’t Edit Linux Files In Windows Microsoft warned all Windows 10 users who have installed the Windows Subsystem for Linux recently that they should not modify Linux files on Windows using apps, tools, scripts or other means. The Windows Subsystem for Linux (WSL) is part of Microsoft's new Windows 10 operating system. It is not installed by default however and needs to be enabled by a user or administrator before it becomes available. To enable Bash on Windows 10, a user would have to enable the Developer Mode first in the Settings app under Update & Security > For Developers. Once done, it is necessary to open the "Turn Windows features on or off" option in the classic Control Panel, and select Windows Subsystem for Linux to enable the feature. Windows 10 downloads Bash then from the Store. Once that operation completes, you may fire it up by writing bash on the command prompt. Don't edit Linux files on Windows Microsoft warns users of Windows 10 not to edit any Linux files that are part of the Linux subsystem using Windows apps, scripts, console commands or other means. Quote DO NOT, under ANY circumstances, create and/or modify Linux files using Windows apps, tools, scripts, consoles, etc. The reason given is that creating or changing Linux files from Windows may result in data corruption or even a damaged Linux system. Quote Creating/changing Linux files from Windows will likely result in data corruption and/or damage your Linux environment requiring you to uninstall & reinstall your distro! Microsoft refers to all Linux files that are part of WLS, and those are all stored under %localappdata%\lxss on the system drive. The reason for this is that file metadata is handled differently on Linux than it is on Windows. Since WSL is stored in a NTFS folder, it is necessary that it "calculates and persists each Linux file's metadata in its NTFS extended attributes". While WSL is capable of that, Windows apps, scripts, tools or programs are not. This means that create or modify events won't store any Linux file metadata. Files without proper metadata may not open, write or read at all because of this. Microsoft's solution is to store files that you need to use on Windows and Bash in separate directories. Quote When you access files on your Windows filesystem from within Bash, WSL honors the NT filesystem behaviors (e.g. case-insensitivity), permissions, etc. so you can easily access the same files using both Windows tools and Bash tools without having to copy files back and forth between filesystems. Closing Words While you might say that this is inconvenient if you use WSL regularly, it would be the same if you'd copy a NTFS file to a Linux partition, edit it, and copy it back. Now You: Do you use Bash on Windows 10? Source Link to comment Share on other sites More sharing options...
steven36 Posted November 21, 2016 Share Posted November 21, 2016 I don't use Linux in Windows 10 at all ! If i want too use Linux i just reboot into Linux how would having Linux on Windows be valuable unless you was some dev building apps for Linux and don't really use Linux? Link to comment Share on other sites More sharing options...
dMog Posted November 21, 2016 Share Posted November 21, 2016 Linux /windows topics have become one of the threads here that become contentious after about 4 posts it gets heated.... no reason at all for this...... Link to comment Share on other sites More sharing options...
steven36 Posted November 21, 2016 Share Posted November 21, 2016 No one is heated ? I just said i get no benefit for using Linux in windows this feature Microsoft added to windows for developers to try to bring them back to windows and to work with there cloud platform. Most end users of Windows or Linux will never use it. It just made good for good Windows PR when it 1st came out but in reality it will never matter to most. Enabling this can just cause more security issues as it already done had to be patched once. I done read enough PR good and bad about windows 10 in the last year and 1/4 too last me a lifetime . The journalist post it just to have something to post . Microsoft has not benefited no more from Windows 10 than from Windows 8.1 yet most the users are still on windows 7 and the ones on Windows 10 we got it free unless you just bought a new PC.. Maybe when they build that PC they have planed that fit on smartphone windows will do something again. You can Google anything to fit you're personal agenda, but it don't mean it's so .. Microsoft has some kind of master plain to use Linux in the future but it's not been really been reviled yet . It's so they can compete against Android witch use the Linux kernel .Let's hope it does better than Steve Ballmer's idea about Windows Phone witch cost's Microsoft billions in dollars in loss and Satya Nadella took the fall for it but it was not his idea to began with Windows 10 has been planned since they started making windows 8 witch was the beginning of windows 10. Windows 10 was Jay Machalani's idea because he hated windows 8. http://www.theverge.com/2013/12/12/5203934/windows-8-2-start-menu-concept http://www.theverge.com/2014/10/7/6934759/hes-a-pc-and-windows-10-was-his-idea Windows 10 idea came from hate no wonder there's hate that evolves around it lol. Continuum witch will somehow use Linux is Microsoft's Idea but windows 10 concept was not there idea they are just designing it to fit there agenda is all. Link to comment Share on other sites More sharing options...
pc71520 Posted November 21, 2016 Share Posted November 21, 2016 Linux is Linux and Windows is Windows. There is no need to mix these two OS. Microsoft created a mess. Link to comment Share on other sites More sharing options...
dMog Posted November 21, 2016 Share Posted November 21, 2016 @steven.... microsoft had a windows phone???? never ever seen on in my life... Link to comment Share on other sites More sharing options...
luisam Posted November 21, 2016 Share Posted November 21, 2016 8 hours ago, vissha said: To enable Bash on Windows 10, a user would have to enable the Developer Mode first in the Settings app under Update & Security > For Developers. Once done, it is necessary to open the "Turn Windows features on or off" option in the classic Control Panel, and select Windows Subsystem for Linux to enable the feature. For a start, I'm not a Micro$oft hater. I've been using Micro$oft products since 1981, Windows since 3.1 and Office since 2.0 But, yes, I'm a Micro$oft critic. So, I'm sorry, all this is too "deep" for me. As I understand here we have a "feature" included in Windows 10 which looks useless for about 99.9% of the human race, well, at least for normal Windows 10 users. If you decide to enable it, you should be more careful with it than taking care of Gizmo from "Gremilns"! So, why it was made PART of Windows 10? If there is someone who needs this feature, should have the option to download it from Micro$oft Update website. One more reason for not to envolve myself in Windows 10, staying away from it as long as I can!... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.