News: 0001490387

  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)

FUSE Adding IDMAPPED Mounts Support In Linux 6.12

([Linux Storage] 6 Hours Ago FUSE + IDMAPPED Mounts)


Merged three years ago in Linux 5.12 was [1]IDMAPPED mounts for new use-cases from containers to systemd-homed . IDMAPPED mounts allow for different mounts to expose the same file or directory with different ownership such as for sharing files between multiple users or multiple systems. With time all of the major Linux file-systems have seen support added for [2]IDMAPPED mounts while for Linux 6.12 support is on the way for FUSE file-systems.

File-Systems in User-Space are seeing infrastructure added to the common FUSE code for being able to support IDMAPPED mounts. Plus the initial FUSE file-system making use of this code is VirtIO-FS. The VirtIO-FS file-system can optionally now use IDMAPPED mounts and there is also the code pending for [3]VirtIOFSD for supporting it.

The VirtIO-FS support and the FUSE IDMAPPED infrastructure was queued this week into fuse.git's [4]for-next branch ahead of the Linux 6.12 merge window opening in the next week or two. So barring any last minute issues or objections from Linus Torvalds, FUSE should be able to support IDMAPPED mounts with Linux 6.12.



[1] https://www.phoronix.com/news/IDMAPPED-Mounts-Linux-5.12

[2] https://www.phoronix.com/search/idmapped

[3] https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/245

[4] https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git/log/?h=for-next



phoronix

While the engineer developed his thesis, the director leaned over to
his assistant and whispered, "Did you ever hear of why the sea is salt?"
"Why the sea is salt?" whispered back the assistant. "What do you
mean?"
The director continued: "When I was a little kid, I heard the story of
`Why the sea is salt' many times, but I never thought it important until just
a moment ago. It's something like this: Formerly the sea was fresh water and
salt was rare and expensive. A miller received from a wizard a wonderful
machine that just ground salt out of itself all day long. At first the miller
thought himself the most fortunate man in the world, but soon all the villages
had salt to last them for centuries and still the machine kept on grinding
more salt. The miller had to move out of his house, he had to move off his
acres. At last he determined that he would sink the machine in the sea and
be rid of it. But the mill ground so fast that boat and miller and machine
were sunk together, and down below, the mill still went on grinding and that's
why the sea is salt."
"I don't get you," said the assistant.
-- Guy Endore, "Men of Iron"