Hacker News with Generative AI: File Systems

Bcachefs Brings Self-Healing Work and Better Reflink Repair for Linux 6.13 (phoronix.com)
Bcachefs has now joined the party of various kernel components sending in preemptive pull requests ahead of the Linux 6.13 merge window that is expected to open following the expected Linux 6.12 release on Sunday.
Launch HN: Regatta Storage (YC F24) – Turn S3 into a local-like, POSIX cloud FS (ycombinator.com)
Hey HN, I’m Hunter the founder of Regatta Storage (https://regattastorage.com). Regatta Storage is a new cloud file system that provides unlimited pay-as-you-go capacity, local-like performance, and automatic synchronization to S3-compatible storage. For example, you can use Regatta to instantly access massive data sets in S3 with Spark, Pytorch, or pandas without paying for large, local disks or waiting for the data to download.
Representing filesystems in databases efficiently with Hierarchical Ordering (danthegoodman.substack.com)
The way the we interface with files in a file system and rows in a database are fundamentally not the same.
Uncached Buffered IO Is Performing Great, Working Now on Btrfs / EXT4 / XFS (phoronix.com)
As covered last week Linux I/O expert Jens Axboe has been taking a fresh pursuit of uncached buffered I/O for Linux.
Origin private file system (mozilla.org)
The origin private file system (OPFS) is a storage endpoint provided as part of the File System API, which is private to the origin of the page and not visible to the user like the regular file system.
Debcow Optimizing Debian Packages for Copy-on-Write File-Systems (phoronix.com)
Debcow is an experimental implementation of deploying Debian packages on copy-on-write file-systems like Btrfs and Bcachefs.
A mental model for Linux file, hard and soft links (bhoot.dev)
I always felt bothered about my superficial understanding of inode, hard and soft links in Linux. Here I attempt to structure my learnings into a simplified mental model. Corrections are welcome.
A mental model for Linux file, hard and soft links (bhoot.dev)
I always felt bothered about my superficial understanding of inode, hard and soft links in Linux. Here I attempt to structure my learnings into a simplified mental model. Corrections are welcome.
Userland Disk I/O: Filesystems, file IO, and durability (transactional.blog)
In database land, most databases open(2) their WAL and data files with O_DIRECT so that write(2)/writev(2)/pwritev(2) perform unbuffered IO, maintain their own page cache, and utilize fdatasync() for durability.
OpenZFS deduplication is good now and you shouldn't use it (despairlabs.com)
OpenZFS 2.3.0 will be released any day now, and it includes the new “Fast Dedup” feature. My team at Klara spent many months in 2023 and 2024 working on it, and we reckon it’s pretty good, a huge step up from the old dedup as well as being a solid base for further improvements.
Using /tmp/ and /var/tmp/ Safely (systemd.io)
/tmp/ and /var/tmp/ are two world-writable directories Linux systems provide for temporary files.
Are you sure you want to use MMAP in your database management system? (2022) (cs.cmu.edu)
Memory-mapped (MMAP) file I/O is an OS-provided feature that maps the contents of a file on secondary storage into a program’s address space.
Using /tmp/ and /var/tmp/ Safely (systemd.io)
/tmp/ and /var/tmp/ are two world-writable directories Linux systems provide for temporary files.
ReiserFS File-System Expected to Be Removed with Linux 6.13 (phoronix.com)
With ReiserFS having been deprecated for two years with plans to remove it in 2025, the upcoming Linux 6.13 cycle for what will be the first major kernel release of the new year and past the Linux 6.12 LTS kernel is expected to do just that... ReiserFS is set to be stripped from the mainline kernel codebase.
Filesystem Hierarchy Standard (linuxfoundation.org)
This standard consists of a set of requirements and guidelines for file and directory placement under UNIX-like operating systems.
Linus Torvalds is fed up with bcachefs (kernel.org)
Several more filesystems repaired, thank you to the users who have been providing testing. The snapshots + unlinked fixes on top of this are posted here:
Bcachefs Fixes Pull Once Again Frustrates Linus Torvalds – Two Choices Offered (phoronix.com)
Linus Torvalds merged the newest round of fixes to the experimental Bcachefs file-system, but it's left Linux creator Linus Torvalds frustrated and he's presented two choices for the file-system moving forward due to the continued LKML drama.
Bcachefs Fixes Pull Once Again Frustrates Linus Torvalds (phoronix.com)
Linus Torvalds merged the newest round of fixes to the experimental Bcachefs file-system, but it's left Linux creator Linus Torvalds frustrated and he's presented two choices for the file-system moving forward due to the continued LKML drama.
Gefs: A good enough filesystem for Plan 9 (orib.dev)
Recently, I have been working on a new file system called gefs. It isn't yet trustworthy, but it's ready for testing. The code is available here: https://shithub.us/ori/gefs/HEAD/f.html
The best browser bookmarking system is files (afewthingz.com)
Along the years I have tested various browser bookmarking systems.
Linux 6.12 NFS Adds Localio Protocol for "Extreme" Performance Boost (phoronix.com)
The Network File System (NFS) changes have been merged for the ongoing Linux 6.12 development cycle. Notable this time with NFS is adding LOCALIO protocol extension support that can lead to fairly "extreme" performance improvements in scenarios where the NFS client and server are on the same host.
Is there now a generation of users who never worked with files? (hyperknot.com)
Is there now a generation of users who never worked with files?
fd - A simple, fast and user-friendly alternative to 'find' (github.com/sharkdp)
fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find.
Bcachefs Hopes to Remove "Experimental" Flag in the Next Year (phoronix.com)
Bcachefs lead developer Kent Overstreet has submitted all of the Bcachefs file-system feature patches for the Linux 6.12 kernel merge window.
Sshfs for Windows (github.com/winfsp)
SSHFS-Win is a minimal port of SSHFS to Windows. Under the hood it uses Cygwin for the POSIX environment and WinFsp for the FUSE functionality.
Bcachefs (bcachefs.org)
"The COW filesystem for Linux that won't eat your data".
How to sync Mac and Linux /home (sive.rs)
Shufflecake: Plausible deniability for hidden filesystems on Linux (2023) (iacr.org)
Linus Torvalds Begins Expressing Regrets Merging Bcachefs (phoronix.com)
Microsoft is finally removing the FAT32 partition size limit in Windows 11 (theverge.com)