Linux bind mounts
Linux bind mounts
Posted Mar 19, 2025 14:49 UTC (Wed) by farnz (subscriber, #17727)In reply to: Linux bind mounts by andrejp
Parent article: Fedora discusses Flatpak priorities
Why would you bind-mount 1,000s of files? That's not something that Flatpak normally does (I have several running at the moment, with open files, and only a few bind-mounted files); when you tell the portal that you're finished with a file, the sandbox automatically unmounts the bind-mounted file so that you no longer have access to it.
The only time you'd ever bind-mount 1,000s of files in a Flatpak world is if you've had the user open thousands of files individually, and then not released them - but again, if this hurts performance, why are you keeping thousands of files open?
