Filesystems as Databases

Discussions debate whether filesystems function like databases, question the filesystem abstraction's suitability, and explore philosophies like 'everything is a file' from Plan 9 and Unix traditions.

πŸ“‰ Falling 0.4x Databases
4,207
Comments
20
Years Active
5
Top Authors
#1748
Topic ID

Activity Over Time

2007
2
2008
7
2009
57
2010
81
2011
102
2012
125
2013
147
2014
187
2015
155
2016
212
2017
267
2018
248
2019
315
2020
325
2021
340
2022
394
2023
479
2024
430
2025
285
2026
49

Keywords

e.g DB SSD SQL QNX FS HDD HTTP POSIX NBD filesystem filesystems file metadata database files resource execute db abstraction

Sample Comments

vbuwivbiu β€’ Oct 12, 2018 β€’ View on HN

you don't need "everything is a filesystem" for that

szundi β€’ Jul 27, 2024 β€’ View on HN

Filesystems are DB like structures these days anyway.

spacemanmatt β€’ Dec 10, 2014 β€’ View on HN

Tell me more about how files are not objects and filesystems are not storage!

fouc β€’ Jun 28, 2021 β€’ View on HN

He's alluding to the fact that filesystems are a kind of database for files.

simias β€’ Dec 7, 2017 β€’ View on HN

Do you often interact with an ext4 file system using the Linux VFS? I'm not sure it helps your "familiarity" argument. It's not just about familiarity either, it's also interoperability. Tons of 3rd party applications know how to interact with real filesystems using the standard POSIX "open", "stat", "unlink" etc... You can make incremental backups using rsync, you can use a choice of many browsers to explore its contents, you can use logrot

justincormack β€’ Sep 20, 2014 β€’ View on HN

Plan 9 already did that in its file system...

tjchear β€’ Oct 12, 2025 β€’ View on HN

What’s stopping other Unix-like systems from adopting the everything is a file philosophy?

whatshisface β€’ Mar 29, 2019 β€’ View on HN

What is the rationale behind abandoning the filesystem? Filesystems have served well on multiuser systems for decades but for some reason have fallen into disfavor.

ycombobreaker β€’ Mar 1, 2018 β€’ View on HN

The filesystem is, and has always been, a database.

dap β€’ Jan 30, 2016 β€’ View on HN

That sounds like a sign that the filesystem may be the wrong abstraction for this.