-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Use private mounts for btrs polling
In Anaconda mode, Cockpit mounts a btrfs filesystem to list its subvolumes. Now these mounts are private to the process that does the listing, just like the mounts for making changes already are. Since the mounts are no longer shared, we don't need to maintain a database of their users. But we still keep record of the mounts that a process has done so that we can clean their directories all up on exit. Because of the cleanup, we need to use unique directory names.
- Loading branch information
Showing
1 changed file
with
46 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters