#filesystem

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2026-02-05

Quote from Hammer2 page

Because HAMMER2 is a block copy-on-write filesystem, the "atime" field is not supported and will typically just reflect local system in-memory caches or mtime.

The radix tree is dynamic in that each entry can dynamically control how many bits it chops off. This allows small files to be contained in just one or two levels regardless of the block seek positions. The depth of the radix tree is increased as needed via a splitting mechanism, and will also be recombined if it grows smaller. All block references are 64-bit aligned-byte-indexed references and thus portable regardless of physical sector size changes between underlying block devices.

Inodes are 1KB of which 512 bytes are used for the top-level radix tree OR 512 bytes of data. Any file less than or equal to 512 bytes stores its data directly in the inode. Files up to 256KB can be accommodated with direct inode block references.

Directory entries are hashed (semi-sorted hash algorithm), and directly embedded in the radix table's blockref structure for maximum performance. Files with very long filenames will contain a dataref, otherwise filenames are embedded in the directory entry itself. Because directory entries are hashed, seeking and lookups are able to use a radix search and no linear scan of the directory is needed.

The inode and directory entry structure is extremely well suited for any file size or directory size, from tiny to huge.

Because of the block-copy-on-write nature of the filesystem, the filesystem is able to create a snapshot trivially simply by copying the volume header's root block table (4 blockref entries). The directory topology actually starts with a SUPERROOT, and volume ROOTs are directory entries under the SUPERROOT. Though the entries are actually special-cased a bit and actually part of the root inode for each filesystem root. And since physical freeing of space is handled via a bulk meta-data scan, destroying a snapshot or volume can be done simply by wiping the inode and ignoring everything under it... the next bulkfree scan will reclaim any reclaimable space. Similarly with file deletions... the top-level data blockrefs can simply be removed. The inode can simply be removed from the radix tree.

Performance is very good. HAMMER2 uses a variable-sized block in powers of two, starting at 1KB, up to 64KB, for the last block of the file (straddling EOF). All earlier blocks in the file, if any, use 64KB blocks. The freemap is organized by domain to cluster various meta-data types together. Indirect blocks can be one of two sizes: 16KB or 64KB, allowing medium-sized files and directories to be optimally allocated. In addition, file data compression of a logical block can result in a smaller physical block. The physical layer always does 64KB I/O and can cluster the I/O on top of that.

dragonflybsd.org/hammer/

#filesystem #programming #BSD #dragonflyBSD #freeBSD #OpenSource #technology #no #FSK

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2026-02-05

The amazing DragonFlyBSD has the fantastic
Hammer2 filesystem:

* Block copy-on-write filesystem
* Instant recovery on mount
* Instant snapshots
* Mounted snapshots are writable
* Automatic snapshotting can be enabled at the system level via periodic scripts
* Default Periodic also does daily bulk pass on the meta-data to free space
* Automatic compression (controllable on directory recursion and per-file basis)
* Automatic de-duplication
* Future master/slave mechanism
* Utilizes a dynamic radix tree
* 64-bit hardlink counter
* 2^63 logical file size limit
* Recursive check codes to detect corruption
* Any number of pseudo-filesystem volumes for each physical hammer2 disk image (also used by snapshots).

dragonflybsd.org/hammer/

#filesystem #programming #BSD #dragonflyBSD #freeBSD #OpenSource #technology #no #FSK

Tedi Heriyantotedi@infosec.exchange
2026-02-01

Peeking into /proc: turning live Linux data into evidence: andreafortuna.org/2026/01/19/p

#linux #filesystem #proc

ĞÖKÜ👻👻™GOKUSHRM
2026-01-29


Files
play.google.com/store/apps/det
Why use 3rd party file manager when there is inbuilt manager in ur android. Available on aurora store

Tommi 🤯tommi@pan.rent
2026-01-27

💾 The File Count Challenge 🔎

Have you ever wondered how many PDFs, images, videos, or particular kind of files you have on your device? It is the time to find out.

I am hereby proud to officially launch a Fedi-wide file count challenge, in exclusive partnership with the 2025-27 class of @xpub 👾

💁 How to participate

  1. Go to your main device (not mobile)
  2. Open the terminal
  3. Run find . | grep '.pdf$' -c (on Windows: gci -r | where Name -match '\.pdf$')
  4. Repeat the previous command, replacing “pdf” with any file format you are interested in sharing. We suggest: jpg, mp3, and png. 🔆 Bonus: html, js, ttf, odt, svg
  5. Take a screenshot of the output
  6. Share the screenshot on the Fediverse, using the #fileCountChallenge hashtag (please, copy-paste the actual text from the terminal in the image description/alt text)
  7. Add your (user)name and results to the scoreboard
  8. 🆒 Bonus: share the story explaining why you have so many/little files for one format.

🏆 Awards

There is a secret prize for the three people who have the most PDFs, JPEGs, and HTMLs. More info to follow.

Boost, share, fork… Do whatever you want, but please have fun while doing it.

I willl keep writing updates. Yaaaaaaay ⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️

#fileCountChallenge #fileCount #XPUB #challenge #terminal #Linux #cmd #CLI #find #grep #filesystem #file #files

find | grep '.ttf$' -c
427

find | grep '.odt$' -c
637

find | grep '.svg$' -c
3737

find | grep '.mp3$' -c
150

find | grep '.js$' -c
38819

find | grep '.png$' -c
19199find | grep '.pdf$' -c
2676

find | grep '.html$' -c
7292

find | grep '.md$' -c
8093

find | grep '.mp4$' -c
1386

find | grep '.jpg$' -c
20561

find | grep '.jxl$' -c
35

find | grep '.ttf$' -c
427
Tedi Heriyantotedi@infosec.exchange
2026-01-26

Peeking into /proc: turning live Linux data into evidence: andreafortuna.org/2026/01/19/p

#linux #filesystem #proc

Eli :Blobhaj_Pumpkin_Face: :nonboOonary:horrorqueerdo@is.nota.live
2026-01-25
2026-01-23

Ubuntu 24.04.3 ext4 dual external drive system causes crash on Raspberry Pi 4 #permissions #2404 #filesystem #crash #ext4

askubuntu.com/q/1563157/612

Holger Hellingerholger@hellinger.wtf
2026-01-18

Dan Abramov proposes a "social filesystem" where data like posts and follows exists as user-controlled files rather than being trapped in app silos. Much like personal files (e.g., PDFs) work across different software, social records should be app-agnostic. Using the AT protocol as a model, apps become reactive interfaces for a distributed filesystem. This shifts ownership to users, ensuring digital memories outlive the platforms used to create them.

overreacted.io/a-social-filesy

#social #filesystem

N-gated Hacker Newsngate
2026-01-15

Ah, JuiceFS! Because what's better than turning your POSIX file system into a Rube Goldberg machine powered by the dynamic duo of and S3? 🤖🔧 Clearly, the only thing more convoluted would be creating a file system out of spaghetti and meatballs! 🍝🔍
github.com/juicedata/juicefs

neoacevedoneoacevedo
2026-01-15

neoacevedo.gumroad.com/l/jooml

I've made this Joomla filesystem plugin for storage management in cloud. It supports Azure Blob Storage, Azure File Storage and Google Cloud Storage.

Originally I developed more than 6 year ago in separated plugins this storage filesystem plugin. Now, I've joined all these in one only plugin.


रञ्जित (Ranjit Mathew)rmathew
2026-01-15

How the Unix file-system hierarchy cargo cult was born 🥸:

“Understanding The bin, sbin, usr/bin , usr/sbin Split” [2010], Rob Landley (lists.busybox.net/pipermail/bu).

Via HN: news.ycombinator.com/item?id=4

On Lobsters: lobste.rs/s/vitm3g/understandi

Thorsten Leemhuis (acct. 1/4)kernellogger@hachyderm.io
2026-01-12

xfsprogs: v6.18.0 released lore.kernel.org/all/jzrly2kwod

* Refactoring the discard and reset zones code in mkfs allowing skipping discard of data section for zoned fs.

*Enable parent pointer by default in mkfs; see blogs.oracle.com/linux/xfs-dir (partly screenshotted below) for the problems this addresses

#xfs #Linux #kernel #LinuxKernel #filesystem

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst