Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Windows Microsoft Build Linux Technology

Windows 10 Is Getting Linux Files Integration In File Explorer (theverge.com) 111

Microsoft is planning to fully integrate Linux file access into the built-in File Explorer. The Verge reports: A new Linux icon will be available in the left-hand navigation pane in File Explorer, providing access to the root file system for any distros that are installed in Windows 10. The icon that will appear in File Explorer is the famous Tux, the penguin mascot for the Linux kernel. Microsoft is testing the Linux File Explorer integration in a new build of Windows 10 that's available for testers today. Previously, Windows 10 users would have to manually navigate to a UNC path to get access to Linux files from the Windows Subsystem for Linux (WSL). If you have WSL enabled, then the Tux will appear in File Explorer, and Microsoft is now seeking feedback on the integration before it's finalized as part of a future Windows 10 update. The software maker will ship this update to all Windows 10 users later this year.
This discussion has been archived. No new comments can be posted.

Windows 10 Is Getting Linux Files Integration In File Explorer

Comments Filter:
  • What is the article saying? Is it saying that Windows is now going to be supporting Linux File systems natively? Is it going to automatically convert between CR and CRLF text files? Is neither of these true? If so, then what's the point?
    • If Windows supported EXT3/4 fileystems (and others) - that would be pretty cool. It would make manual backups to USB disks easier.

      I don't think text file switching between LF, CR and CRLF is that important - as decent editors & IDEs handle that already. Sublime Text and Visual Studio both do it.

      • by rastos1 ( 601318 )
        Actually, I'm glad Windows does not support ext3/4 and btrfs. It is a roadblock for malware accessing my Linux system from windows on a dual boot machine. Is there any malware that bundles Linux FS drivers?
        • Since Linux and BSD (fusefs) provide support the other way around, perhaps the cross contamination 'Malware' you suggest would also pack in support for ext3, 4, UFS and ZFS.

          Still you are correct; it might provide an additional vector.
        • I had the same thought. I have quarantined off all non-open programs (basically steam and games) in linux with a separate user. I also have a windows partition used only for those games that don't work under linux and I liked the extra security of knowing Windows can't easily access the linux partitions. I just don't like running untrusted code in the same place I do my banking.

          I do not want Windows to get full access to the Linux partitions, most importantly not write permissions. It is not just viruses or

          • If you keep your Linux partition encrypted, that should prevent Windows from being able to access the files. Likewise, an encrypted Windows partition should be safe from the Linux side. It's not a bad idea anyway, as most modern processors can encrypt/decrypt AES just about as fast as an SSD can be read.

        • Actually, I'm glad Windows does not support ext3/4 and btrfs. It is a roadblock for malware accessing my Linux system from windows on a dual boot machine. Is there any malware that bundles Linux FS drivers?

          Yeah - it's concerning. I'm also concerned when they added OpenSSH which now means their OS is packed to connect to Linux OOB, and I can almost guarantee few MS+SSH users are setting a decryption key on their private key so it's turning into a new vector.

          I was astounded to find that ReactOS/0.4 has "native" btrfs support baked in.

    • by phantomfive ( 622387 ) on Wednesday April 08, 2020 @10:41PM (#59923942) Journal

      Is it going to automatically convert between CR and CRLF text files?

      Use Wordpad not Notepad. Every other editor can deal with that problem and has been able to do so for decades.

    • Think of this* [wikipedia.org] as the opposite of WINE*. It's now possible to run Linux binaries of Windows; this update merely makes the Linux filesystem easily accessible in Windows Explorer.

      *It's obviously not, really, but it'll do.

    • by raymorris ( 2726007 ) on Thursday April 09, 2020 @12:09AM (#59924086) Journal

      For some time now, it's been possible to run the Linux userland inside of Windows. You get a bash or other shell and you can use awk, grep, etc. It's handy if for some reason your machine runs Windows and you appreciate Linux utilities. I'm a "Linux guy" in a company that uses Microsoft, so I have a Windows laptop. Windows Subsystem for Linux lets me do some things the Looking way on a computer that's running Windows. That can be very convenient.

      One little inconvenience when using both the Linux shell and the Windows GUI on the same system is that the two operating systems refer to files differently.
      Linux doesn't use drive letters like Windows does.
      On my work laptop, I have C: D:, M:, and Z:. Linux doesn't do that. The filesystem starts at / (called the root) and you have directories from there. /bin, /usr, /home, etc. You don't specify the physical hardware when you access a file on Linux. So when you open File Explorer how do you get to /bin or /var/spool? It's not necessarily at c:\var\spool. What's new is they added an icon in File Explorer pointing to what the Linux subsystem calls /, or the root directory.

      Windows using Linux filesystems is very problematic "simply" because unlike a kindergartener, Windows doesn't know the difference between lower case and uppercase. That seems like a simple thing to address, but it turns out to not be so simple, especially since not everyone uses American English. It turns out, the characters that Americans think of as uppercase and lowercase versions of the same letter are completely different letters in other languages, and vice-versa. At a simpler level, what is Windows going to do when there are two files, README.txt and readme.txt? All of the Windows libraries and system calls think those two refer to the same file, but they are not the same file on filesystems designed for operating systems other than Windows. It gets messy.

      • Windows using Linux filesystems is very problematic "simply" because unlike a kindergartener, Windows doesn't know the difference between lower case and uppercase.

        It does, actually[1]. It just doesn't care. You can create a filename that differs in case only, and the shell explorer will always only choose one of them when you double-click on either, but it will display both. It makes for a good way to store your porn folders if you're using windows - standard windows tools can only ever get into the one folder.

        In fact, I just did it now to be certain: see this screenshot [ibb.co]. Of course, shell explorer/cmd.exe can't create these files.

        [1]NTFS knows the difference, shell e

        • I've been told that Windows is case aware but not case sensitive. foo.txt and foo.tXt are the same file that is secretly still 8.3 allcaps with a label to remember the display name which can be longer and have Caps & non-caps mixed..
          • I've been told that Windows is case aware but not case sensitive. foo.txt and foo.tXt are the same file that is secretly still 8.3 allcaps with a label to remember the display name which can be longer and have Caps & non-caps mixed..

            It doesn't matter what Windows is, NTFS is case-sensitive. The display name **is* the real name.

          • The 8.3 thing is an extra thing for backward compatibility. It's never been the real name in NTFS. The case-aware-but-not-case-sensitive thing is true though. Windows delegates a lot of logic to the filesystem (which is one reason why file access can't be as fast on Windows as Linux and therefore a big motivation for WSL 2).

      • Cygwin has worked fine for a couple of decades, edit the fstab to set if root of C:\ is c/ or /c/

    • Itßs only the first step before removing the Windows kernel from windows

    • I can mount NTFS volumes since 20 years ago, so why not?

    • Is it going to automatically convert between CR and CRLF text files?

      That has nothing to do with with the OS. It's a specification thing that the OS should definitely not get in the way of. Let software handle this.

    • Anyone seeing the headline would automatically think of just what you describe. For some reason the author and editor chose not to mention it. I question their honesty and/or competence. https://www.vocabulary.com/dic... [vocabulary.com]
  • Linux is a cancer. (his sentiments, not mine)
  • Many issues... (Score:5, Interesting)

    by bradley13 ( 1118935 ) on Thursday April 09, 2020 @12:20AM (#59924122) Homepage

    There are so many issues - I wonder... To name two: case sensitive file names and different character sets.

    As for why: I think some folk at MS realize that Windows is EOL. Win10 is an ad-supported mess. Maybe Win11 or Win12 will be Linux...

    • by Psychotria ( 953670 ) on Thursday April 09, 2020 @02:15AM (#59924284)

      Background: I've been using Linux since 1994 when I was introduced to it when studying IT at university (my first distro was Yggdrasil Linux).

      Just to be clear, this new explorer option is for the filesystems of Linux distros installed using WSL; not for disk partitions. So, that potentially mitigates some of the issues that you've raised. You can already access Linux files using WSL and have been able to do so for for ages now, you just have to type/navigate manually. This new way is only "new" because you don't have to manually specify paths (basically it's an icon, and nothing more, to make what you can already do faster). If the shit was going to hit the fan because of the issues you raised then it would have hit the fan already ages ago. So I guess they've thought of those things.

      I've heard that Windows 10 is an ad-supported mess from others as well. But I've never seen an ad on any of the hundreds (maybe thousands) of Windows 10 desktops that I've looked at. What are these ads and where do they show up? Is it only for Home Edition (or whatever it's called) and pirated versions of Windows 10 only? I've honestly never seen a single ad originating from Windows 10.

      • Re: (Score:3, Interesting)

        by Anonymous Coward

        I've heard that Windows 10 is an ad-supported mess from others as well. But I've never seen an ad on any of the hundreds (maybe thousands) of Windows 10 desktops that I've looked at

        Say you hit the start menu and type in the name of a game you have installed, so you can run it.
        What you typed and how long you ran the program is the data sent to MS, which is integrated into their ad targeting, which is sold generally to websites wanting to place targeted ads.

        Most people that frequent slashdot run ad blockers, so don't see the end results of this data harvesting.
        Even if you don't, people don't tend to expect words they type on their keyboard are logged by the OS and sent back to MS to end

        • So, candy crush being in the start menu is an ad?

          • Hell yes it is. Not only in the start menu, it has a permanent tile displayed whenever you open the start menu. If that's not an ad I don't know what it is. But that's not the main issue; the main issue is telemetry / spying on whatever you type in the start menu and sending ads based on that (mentioned in another comment).
            • you can literally drag-resize the start menu smaller so the tiles don't appear. if you want you can pretty easily turn off all the telemetry stuff.

            • Hell yes it is.

              Well I mean if you voluntarily run your OS with the "send me ads option" turned on, then you can hardly call candy crush an advert. Seriously if you ever see Candy Crush in your start menu then go slap your system administrator and ask him to turn it off. If it's your own system then slap your system administrator and disabled suggested apps in start like any halfway competent person does.

        • by AmiMoJo ( 196126 )

          Do you have some evidence that they sell that data? I know they collect it but I need evidence that they sell the information on so I can submit a GDPR complaint.

        • This is all editions of 10, but if you disable the policy to do this, enterprise will honor it where home and pro ignore it.

          Except this isn't even remotely the case since there's a specific option in windows. Or maybe they only do it in the USA where it's not illegal to fuck over users.

    • by Anonymous Coward

      There are so many issues - I wonder... To name two: case sensitive file names and different character sets.

      The NT kernel has always supported case sensitive file names and paths, and it is set on a per-directory basis. That's how it gets set now with the UNC mount point.

      I can't saymuch regarding character sets.
      I stick to UTF-16 in windows and UTF-8 in Linux.
      Notepad++ and gedit support both, as do the GNU tools I script with, which is about the extent I've personally had to deal with.

      So on one hand that would be enough to do conversions between the two if you must.
      On the other hand, it would suck quite a lot if

    • There are so many issues - I wonder... To name two: case sensitive file names and different character sets.

      As for why: I think some folk at MS realize that Windows is EOL. Win10 is an ad-supported mess. Maybe Win11 or Win12 will be Linux...

      I addressed the one point about filenames [slashdot.org]. As to the others, one can only hope...

    • Here’s another one - “hidden” files, meaning those whose names begin with a period. It’s been a while since I tried it, but Windows used to complain loudly about files with names like .htaccess ...

    • by AmiMoJo ( 196126 )

      Windows can cope with case insensitive filesystems just fine. Case insensitivity was a hold over from the DOS days but Windows NT has supported filesystems without it since the start, e.g. you can have NFS drives mounted or an EXT filesystem driver loaded.

      When opening a file the Windows APIs look for an exact case match, then a case insensitive match. The old command prompt had some issues with name completion but PowerShell fixed all that.

    • I think some folk at MS realize that Windows is EOL. Win10 is an ad-supported mess.

      Non sequitur. Why would the ad-supported mess mean Windows is EOL at MS? They are the ones who are making it so.

    • by tlhIngan ( 30335 )

      There are so many issues - I wonder... To name two: case sensitive file names and different character sets.

      As for why: I think some folk at MS realize that Windows is EOL. Win10 is an ad-supported mess. Maybe Win11 or Win12 will be Linux...

      No, those aren't problems. NTFS already supports case-sensitivity these days, and NTFS uses Unicode so character set isn't an issue. Granted, NTFS I think uses UTF-16 and Linux UTF-8, but that's an encoding problem.

      Windows Explorer though is case-insensitive but preservin

  • by CaptainLugnuts ( 2594663 ) on Thursday April 09, 2020 @12:58AM (#59924194)

    In a couple of years after MS has ported the GUI to Vulcan they're going to fire most of their OS staff and put the rest on to making WINE as perfect as it can be, then switch out the Windows kernel for Linux.
    Then probably fire the rest of their OS staff.

  • MS is getting there, step by step, before you know it Windows will be nothing more then a graphical shell/DE for Linux.

  • by ebrandsberg ( 75344 ) on Thursday April 09, 2020 @07:12AM (#59924680)

    Literally, the only thing this feature is doing is creating an extra icon in the file explorer for easy access. It is already possible to create a quick access link to your Linux files in WSL. I use it daily. The biggest issue **I** have and many others as well is that the IP address of the VM that is created changes on a reboot, and there is no normalized way to set it. Hopefully they will resolve this as well.

  • I find it very handy to be able to work in both Linux-like and Windows environments without having to use a Virtual Machine. The biggest pain has been the separation of filesystems. UNC path is ok but this will make things considerably more practical..

    I have always felt a bit strange about Microsoft calling these distributions of Linux running on WSL but their are really more so distributions of GNU. There isn't a real Linux kernel in there. Now I understand Microsoft is building their own replica entir

    • by caseih ( 160668 )

      The WSL (v1) emulates the Linux kernel, so the terminology MS is using isn't completely wrong, other than being completely backwards from how normal people would have named it. The Linux subsystem for Windows would be more logical than what it's called by MS.

      The WSL2 is based on HyperV and will boot a real Linux kernel in a VM. So it really will be Linux.

  • by Neitokun ( 882224 ) <nmalynn@gmail.com> on Thursday April 09, 2020 @07:18AM (#59924696) Homepage
    Microsoft: *Resists any sort of integration with Linux even if it has to violate a standard* Slashdot: This is Bullshit! MIcrosoft needs to allow integration and follow standards and allow interoperability with linux! *22 years pass* Microsoft: *Litearally allows you to install, by name, several popular linux distros and offers deep hooks into their operating system to make switching between linux tools and windows tools painless* Slashdot: Microsoft is trying to take over linux! This is bullshit!
    • It's like a website has people with different opinions, and is not some monolithic entity. Who knew?

      *rolls eyes*

      If some of the people who say one also say the other, those people are being hypocritical, but a website is not hypocritical because person A and person B saying different things is not a contradiction.

      Seriously, this "X: also X" meme is stupid.
  • I'm sorry, I don't use WSL too much (mostly because, well, if I need something done in Linux, I just use a Linux box to do it, why bother with half-assed solutions?), but the article is rather low on details of what this does. Can I run ELF binaries? Can I access ext3/4 partitions? Does Windows now understand the Linux permission system? What does "Linux Files integration in explorer" mean in this context?

  • Unfettered write access - what could possibly go wrong?
  • It sounded for just a second like windows was going to get actual support for ext and possibly other open file systems.

    Reading further it sounds like they are just going to let you mount virtual disks although since either requires adding logic which can read/write the filesystem it will be pretty lame if they don't also add general support for mounting at least ext filesystems... on any media, not just in their co-linux bubbles.

  • I've been training our dev team to be using WSL for LAMP stack development. They use nginx and php 7.4 running on localhost.

    WSL2 destroys any chance of us continuing to use Windows.

    https://github.com/microsoft/W... [github.com]

    Just take a look here. The IO performance in WSL2 is even worse than WSL1. Basically unusable. A simple git clone moves like a turtle.

    In WSL1 you could access windows drives via /mnt/[drive letter] and it worked at almost native speeds but in WSL2 the same functionality is basically broken. All th

  • Unfortunately you can only use Linux in Win10 by getting it from the Windows Store, which means subscribing to a MS account, something that I have no interest in.
    Fortunately, I can easily run a VM, dual boot, run it on a headless RPi, or many other options. Typical MS BS -- no offer comes without strings attached.

    • So? It's not like you have to use it for anything other than the MS Store. Sure, it might be annoying to have yet another account for yet another thing, but it's really not a big deal.

Term, holidays, term, holidays, till we leave school, and then work, work, work till we die. -- C.S. Lewis

Working...