Live data from Hacker News

Windows on Btrfs

lilysthings.org

101–110 of 286 posts

Re: Windows on Btrfs

#101
post #27

Whoa. So why didn’t the Windows store work? Some kind of trusted environment thing?

In Linux terms, think about what would happen if you tried to use ACL (or fsattr or whatever non standard stuff) on a filesystem not supporting ACL: it would throw weird errors, and you may not properly handle them if you expected all filesystems to support ACLs.

Re: Windows on Btrfs

#102

Interesting, I would've expected more Windows software to just assume NTFS with some fallbacks for (ex)fat given how there haven't really been any other options for quite some time. How stable is Btrfs these days? Remember reading years ago that it was bad about spontaneously corrupting itself for no apparent reason. Curious if something similar is possible with ZFS.

Synology apparently thinks btrfs is reliable enough to bet their credibility on it, for what that's worth.

Re: Windows on Btrfs

#103
post #76

Earlier quoted context omitted.

> 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. Such projects have long existed, but I suspect there's a lack of interest. It's a difficult technical problem with a narrow usage niche. You need somebody who wants both Windows an…

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.

When I dual booted a hackintosh and windows (2015) I did so on 2 different drives so I wouldn’t have windows scribbling over my boot sector

Re: Windows on Btrfs

#104
post #23

I'm intending to write up some docs and announce it in the next few days, but since this thread is here, I might as well mention it now: On the topic of alternative btrfs implementations, I've been working on https://git.lukeshu.com/btrfs-progs-ng/ which is written entirely in Go. Its `btrfs-rec inspect mount --pv=/dev/whatever` is a read-only FUSE implementation of btrfs that is more fault-tolerant (of corrupt files…

> On the topic of alternative btrfs implementations, I've been working on https://git.lukeshu.com/btrfs-progs-ng/ which is written entirely in Go. Is this actually a blessed "next-generation" implementation? If not, could you please rename it so it doesn't confuse people?

If it's better, it should just be named btrfs-progs so folks get confused into installing superior tools.

Re: Windows on Btrfs

#105
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.

These days probably quite rare, except for gaming. Virtualization is far more convenient.

Valve is working hard to change that.

Re: Windows on Btrfs

#106

Earlier quoted context omitted.

> 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. Such projects have long existed, but I suspect there's a lack of interest. It's a difficult technical problem with a narrow usage niche. You need somebody who wants both Windows an…

Back in the day, and I mean like mid-late 90's, you could actually install the Linux kernel, files etc., straight onto a Windows FAT partition and boot into it. Not exactly what was being asked for, but a weird old fact I'd forgotten about.

Reminds me of Wubi - I had a Pentium 4 box with a BIOS password that wouldn't clear, and this let me turn it into something 'useful'

Re: Windows on Btrfs

#107
post #6

Can someone please explain the advantages of doing this?

Assuming subvolumes work you could dual boot and avoid having to partition your disk, which would allow you share the space on a drive freely between multiple OSes. That would be especially nice in places where drives and space are a premium, like a Steam Deck.

Re: Windows on Btrfs

#108

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…

It's entirely due to Microsoft's hubris.

Re: Windows on Btrfs

#109
post #28

Earlier quoted context omitted.

File systems are drivers and user space software shouldn’t really see the difference.

There is no way to have btrfs caps insensitive. So some software (poorly coded) could have capitalization issues that would not appear in NTFS that would in btrfs. But other than that I believe you are right (barring utilities specifically designed to interact with FS attributes)

I've been running my Samba shares case sensitive for over a decade, only issue I've found is I can't rename "Foo" to "foo" without jumping through an extra hoop (add a letter or similar).

Perhaps if I ran some software off it I might find some more issues but, overall quite little. The difference in speed is immense though.

Re: Windows on Btrfs

#110

Pretty cool, apart from the fact that it's Windows you're booting. But what's up with UWP apps not working?

The C:\Program Files\WindowsApps (or the equivalent X:\WindowsApps on other disks) needs some very specific ACL settings or the UWP sandbox will throw fits and refuse to start.
Post reply on HN