News: 0001491552

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

EROFS Adding Support For File-Backed Mounts To Benefit Containers & Sandboxes

([Linux Storage] 5 Hours Ago EROFS In Linux 6.12)


The EROFS read-only file-system changes have been submitted now for ahead of the upcoming [1]Linux 6.12 merge window. Notable this cycle is EROFS adding support for file-backed mounts.

EROFS is adding support for file-backed mounts so that file-system image files can be used directly without needing a loopback block device or similar. This file-backed mount support is intended for use with container images and sandboxes. Using file-backed mounts is intended to avoid loopback devices that can behave intricately and can simplify error-prone lifetime management of virtual block devices.

Alibaba's Gao Xiang explains of the EROFS file-backed mounts support:

"In this cycle, we'd like to add file-backed mount support, which has has been a strong requirement for years. It is especially useful when there are thousands of images running on the same host for containers and other sandbox use cases, unlike OS image use cases.

Without file-backed mounts, it's hard for container runtimes to manage and isolate so many unnecessary virtual block devices safely and efficiently, therefore file-backed mounts are highly preferred. For EROFS users, ComposeFS, containerd, and Android APEXes will directly benefit from it, and I've seen no risk in implementing it as a completely immutable filesystem."

In turn the experimental EROFS-over-fscache functionality has been deprecated. More details on the EROFS changes for Linux 6.12 via [2]this pull request . The EROFS read-only file-system continues to prove popular for mobile devices as well as container-type use-cases.



[1] https://www.phoronix.com/search/Linux+6.12

[2] https://lore.kernel.org/lkml/ZuR67f12ntVf59FZ@debian/



phoronix

The rules:
(1) Thou shalt not worship other computer systems.
(2) Thou shalt not impersonate Liberace or eat watermelon while
sitting at the console keyboard.
(3) Thou shalt not slap users on the face, nor staple their silly
little card decks together.
(4) Thou shalt not get physically involved with the computer system,
especially if you're already married.
(5) Thou shalt not use magnetic tapes as frisbees, nor use a disk
pack as a stool to reach another disk pack.
(6) Thou shalt not stare at the blinking lights for more than one
eight hour shift.
(7) Thou shalt not tell users that you accidentally destroyed their
files/backup just to see the look on their little faces.
(8) Thou shalt not enjoy cancelling a job.
(9) Thou shalt not display firearms in the computer room.
(10) Thou shalt not push buttons "just to see what happens".