Hacker News with Generative AI: File Systems

Walking with filesystems: Go's fs.FS interface (bitfieldconsulting.com)
The new io/fs package introduced in Go 1.16 gives us a powerful new way of working with filesystems: that is, trees of files. In fact, the fs.FS interface can be used with more than just files: it abstracts the idea of a path-value map.
Bcachefs Freezes Its On-Disk Format with Future Updates Optional (phoronix.com)
The latest round of Bcachefs file-system fixes have been submitted today for the in-development Linux 6.14 kernel.
Why writes to disk generally wind up in your OS's disk read cache (utoronto.ca)
Recently, someone was surprised to find out that ZFS puts disk writes in its version of a disk (read) cache, the ARC ('Adaptive Replacement Cache'). In fact this is quite common, as almost every operating system and filesystem puts ordinary writes to disk into their disk (read) cache.
Show HN: Plik – a tiny FUSE filesystem with compression and deduplication (sytes.net)
File system in user space (FUSE) with compression and deduplication. Written in a single C file (1K LOC). Uses OpenSSL for hashing, zlib for compression and SQLite for data storage.
TMSU: Command-line tool for applying tags and viewing virtual tagged filesystem (tmsu.org)
TMSU was born out of frustration with the hierarchical nature of filesystems
Migrating Away from Bcachefs (sesse.net)
Pretty much exactly a year ago, I posted about how I was trying out this bcachefs thing, being cautiously optimistic (but reminding you to keep backups). Now I'm going the other way; I've converted my last bcachefs filesystem to XFS, and I don't intend to look at it again in the near future.
Migrating Away from Bcachefs (sesse.net)
Pretty much exactly a year ago, I posted about how I was trying out this bcachefs thing, being cautiously optimistic (but reminding you to keep backups). Now I'm going the other way; I've converted my last bcachefs filesystem to XFS, and I don't intend to look at it again in the near future.
File Systems: The Original Hypermedia (jon.work)
Migrating Away from Bcachefs (sesse.net)
Pretty much exactly a year ago, I posted about how I was trying out this bcachefs thing, being cautiously optimistic (but reminding you to keep backups). Now I'm going the other way; I've converted my last bcachefs filesystem to XFS, and I don't intend to look at it again in the near future.
Home Loss File System (docs.google.com)
This tool was created by former California wildfire survivors committed to supporting you through the challenging process of disaster recovery.
Stupidfs: Hide files by storing them in the metadata of other files (github.com/GoldenStack)
More files per file: hide files by storing them in the metadata of other files
Fedora Stakeholders Have Been Debating Whether to Retire GlusterFS (phoronix.com)
A discussion that originally started last summer has been reignited: whether it's time to retire GlusterFS within Fedora Linux.
Show HN: Windows' ext4 filesystem accesibility by new Visual Studio 2022 (github.com/abdulbadii)
ext4fsd is ext2, ext3 and ext4 file system accessibility on Windows
A gotcha with importing ZFS pools and NFS exports on Linux (utoronto.ca)
Ever since its Solaris origins, ZFS has supported automatic NFS and CIFS sharing of ZFS filesystems through their 'sharenfs' and 'sharesmb' properties.
XDG Base Directory Specification (freedesktop.org)
Various specifications specify files and file formats. This specification defines where these files should be looked for by defining one or more base directories relative to which files should be located.
Mount S3 like local file system for macOS (mountos.app)
mountOS (mount Object Storage) allows seamless integration of S3-compatible cloud storage, making it accessible and usable as a file system
Proof of Concept showcasing WASM program access files outside node:wasi's dir (github.com/humodz)
This repository showcases how to open files outside the "filesystem sandbox" in node:wasi.
ExFAT patents set to expire in early 2027; filesystem to become public domain (patents.google.com)
An extensible file system format for portable storage media is provided.
My wish for VFS or filesystem level cgroup (v2) IO limits (utoronto.ca)
I wish Linux cgroups (v2 of course) had an option/interface that limited *filesystem* IO that you could do, read and/or write.
Ntfs2btrfs does in-place conversion of NTFS filesystem to the open-source Btrfs (github.com/maharmstone)
Ntfs2btrfs is a tool which does in-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs, much as btrfs-convert does for ext2.
ReiserFS Has Been Deleted from the Linux Kernel (phoronix.com)
Linus Torvalds just merged the change to the Linux 6.13 kernel that goes ahead and deletes the ReiserFS file-system from the source tree.
OpenZFS Driver for Windows (github.com/openzfsonwindows)
OpenZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community.
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.