Live data from Hacker News

Windows on Btrfs

lilysthings.org

171–180 of 286 posts

Re: Windows on Btrfs

#172
post #96

Earlier quoted context omitted.

Windows update moving partitions around automatically? Have you got a reference for that?

There won't be any reference, as touching other OS partitions never happened for real. For the rest, there could be references, but it's just lingering legends now: yes, in the past, it could happen BUT only for the Windows partitions (recovery 2700, efi EF00, msr 0701 c: 0700) and only if your partition was too small for a specific update. Then windows would do some careful resizing, in the worst case creating anoth…

[deleted]

Re: Windows on Btrfs

#173

Earlier quoted context omitted.

Until the day it touches it and replaces your selection from the UEFI firmware. Or repartitions the recovery partition. Or decides to move the recovery partition from the beginning of the disk to the end of the disk. All stuff I have personally seen Windows Update do. I am sure your custom bootloader will not be overwritten. All types of hell can happen, borking the entire installation -- and your bootloader will sti…

Windows update moving partitions around automatically? Have you got a reference for that?

https://www.tenforums.com/installation-upgrade/200367-window...

https://superuser.com/questions/1210470/multiple-recovery-pa...

https://www.reddit.com/r/sysadmin/comments/sbhd4g/thanks_mic...

Re: Windows on Btrfs

#174
post #156

Regardless of how cool this is, which I truly think, won't this "break" tons of apps and tools? NTFS and (V)FAT(32) arent't case sensitive and I have seen tons of projects which will fopen file.xy regardless if the file was created as File.xy or fIle.xy or FILE.xy.... (you get the picture).

NTFS is case-sensitive internally and you can have case-sensitive files or directories. Back when WSL1 was the only version, I tried to compile some C++ stuff with MSVC. I ran `git clone` in WSL but cloned to the Windows partition. Visual Studio complained that EXAMPLE.H could not be found, even though it was there, except it looked like "example.h" in Explorer. (WSL2 does not use this feature, since cross-OS file access is done via network shares, and Linux files live in a virtual disk image.)

Re: Windows on Btrfs

#175

Related tangent: Something I don't fully understand (perhaps I just haven't found a project that facilitates it) is why there isn't a Windows extension (driver?) that allows for native mounting of ext4 partitions within Windows explorer. Surely, given the Linux native file system is open source, adding the ability to mount ext4 partitions natively should be something people can add to Windows? I have seen third party…

There used to be an ext2 driver for NT, I think opensource even, but there simply had not been enough interest to keep it updated or built for newer versions

Re: Windows on Btrfs

#176
I gave up on running windows because of the difficulty of sharing files with linux. So now I run only Linux. Some kind of native support for btrfs in windows would be great!

Re: Windows on Btrfs

#177
post #76

Earlier quoted context omitted.

Wanting to dual-boot sometimes isn't that rare, surely. And local storage for documents remains popular too. It seems to reflect the reality that serious Linux development effort has been very server-focussed for a long time.

Linux has good NTFS drivers. If you want to dual boot and share files, you just make three partitions: Windows (NTFS), Linux (whatever the cool kids are using these days), and Shared Data (NTFS).

And before linux had good NTFS drivers, you just put your shared data on FAT32.

Re: Windows on Btrfs

#178
If the BRTFS driver on Windows would implement setting ACLs I think that the Windows Store apps would work fine. The reason the probably fail is because those apps run within a Sandbox with limited permissions and need the right ACLs to run.

You could then even hide all Linux directories of you wanted.

Re: Windows on Btrfs

#179

Earlier quoted context omitted.

Given there's now native NTFS support in the Linux kernel, you could also do that that the other way around.

I wonder which direction causes more breakage for the non-native OS.

I suppose you could store the chmod and group/owner in an NTFS alternative data stream, or reserve a special file on the file system that acts like the MFT.

Re: Windows on Btrfs

#180
post #85

Earlier quoted context omitted.

Paragon has been doing it for quite a while. You just need to pay extra. https://www.paragon-software.com/business/extfs-for-windows/

contact Sales for a quote. I guess the price depends on how many files you plan on storing?

That's the business page, the home user page shows €19,95 for me.
Post reply on HN