Get the latest tech news

The order of files in your ext4 filesystem does not matter


2025-04-06 the title is a cheeky reference to something at the front page of the orange site today1. i don’t want to be misleading here; glob order in bash is “alphanumeric”-ish.

this is more about documenting a wierd bug we encountered recently after a node image patch update, which in-turn caused a multi-hour outage since we could not get ahead of it in time. sidenote: containers use overlayfs and basically “stack” the image layers on top of one-another; and they use something called “white-outs” to handle deletion. fetching the tar blob, and replicating the containerd layer extraction logic (just the golang native"archive/tar" bits), the subsequent ls -1U output was basically the same, when running on the same nodepool.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Files

Files

Photo of Order

Order

Photo of ext4 filesystem

ext4 filesystem

Related news:

News photo

Sizl raises $3.5M to expand its cook-to-order food delivery service

News photo

How to use the Files by Google app to free up storage on your Android phone

News photo

Apple appealing against UK 'back door' order, tribunal confirms