News for hackers. Stuff that matters.
Re:The 5.7 kernel is out by cmurf on Monday June 01, 2020 @12:11AM (#23375388)
Btrfs and WinBtrfs. The file system is the journal. https://github.com/maharmstone/btrfs

Previous discussion on WinBtrfs https://news.ycombinator.com/item?id=15177002

Journal is about obviating fsck, just do journal replay to make the fs consistent again. I think for most media like USB sticks, the most platform interoperable file system is UDF. The gotcha that trips most people up I think, is that you shouldn't partition the media device. Just format the whole block device as UDF. I do this with mkuddf using defaults and it works fine across all three operating systems with similar performance as FAT32.

Re:The 5.7 kernel is out by ComputerGuru on Monday June 01, 2020 @01:53AM (#23375781)
I think the complexity of btrfs and its mix of device and file system layers rules it out for general purposes.
Re:The 5.7 kernel is out by cmurf on Monday June 01, 2020 @08:37PM (#23385845)
The file format is very simple. The write guarantees of the file system for full OS usage may not be simple, certainly they're not simple on Linux, and Btrfs development shows that this is hard.

The GRUB Btrfs driver is pretty small considering the Btrfs feature set. And yet it understands all the multiple device stuff, the logical and physical device abstraction, and snapshots and subvolume navigation.

I like always on checksums for every block, both metadata and data. It's a good fit for the cheaper flash media out there including USB sticks which non-deterministically report back garbage, rather than a discrete read error.

Re:The 5.7 kernel is out by leadingthenet on Monday June 01, 2020 @11:44AM (#23379781)
Why?

I use it on my laptop with 0 issues. It’s really not that complicated...

Re:The 5.7 kernel is out by amenod on Monday June 01, 2020 @01:42PM (#23381313)
It's not about that - the filesystem needs to be simple snough that multiple vendors' implementations will be compatible.

Remember SOAP interoperability? Me neither. It was too complex for its own good. That's why REST is used everywhere today and experienced web developers smile every now and then when they remember they don't need to use it anymore. Well, most of them at least...

Re:The 5.7 kernel is out by ComputerGuru on Monday June 01, 2020 @04:28PM (#23383380)
I’m not talking about complexity to use but rather architectural complexity. Rather than being a simple fs driver, it (in the ZFS model) consumes raw devices then re-exposes them as software-defined volumes optionally with a file system api already exposed or as software defined block devices that can then be formatted with another filesystem.

It basically upends the entire separation of layers and requires a completely different approach to use.

Re:The 5.7 kernel is out by dnr on Monday June 01, 2020 @05:05PM (#23383809)
Btrfs actually has a simpler interface than ZFS: it consumes block devices and exposes only a filesystem, not more block devices. It does have integrated volume management functionality, but overall acts much more like a "regular" filesystem than ZFS.