Repository navigation
fix: extra filesystems broken when bind-mounting host root in Docker - #1859
Merged
Merged
Conversation
henrygd
approved these changes
Mar 30, 2026
henrygd
left a comment
Owner
There was a problem hiding this comment.
Perfect, thanks for the quick fix!
4 tasks done
Contributor
rizkyilhampra
pushed a commit
to rizkyilhampra/beszel
that referenced
this pull request
Apr 14, 2026
…tra-filesystems` in Docker (henrygd#1859)
xiaoran7
pushed a commit
to xiaoran7/beszel
that referenced
this pull request
Oct 17, 2026
…tra-filesystems` in Docker (henrygd#1859)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



📃 Description
When a user bind-mounts the host root (
/) into/extra-filesystems/,disk.Partitions(all=true)(added in6a207c33) exposes all nested virtual mounts from the host (/proc,/sys,/dev, etc.) under that path. The previous prefix check caused every one of these to be registered as an extra filesystem, producing dozens of unwanted entries and breaking custom labels.Fix: match only direct children of
/extra-filesystems/usingfilepath.Dirinstead ofstrings.HasPrefix.Fixes #1857
📖 Documentation
Add a link to the PR for documentation changes.
🪵 Changelog
🔧 Fixed
/extra-filesystems/showed numerous unwanted disk partitions and lost custom labels after v0.18.6