Skip to content

check btrfs: support an automatic detection of all available btrfs filesystems #35

Description

@calestyo

Hey.

It would be nice, if there was a switch that includes all available btrfs filesystems in the check, so that one doesn't have to configure each check manually if different hosts have many (different) btrfs filesystems at different mount points.

Maybe with some --exclude-fs switch that allows to exclude certain fs. That switch could then allow to specify via mountpoint or via UUID.

Not sure what the best way would be to detect all btrfs,... I mean one could of course parse /proc/self/mountinfo (but beware that its format is tricky: it has varying number of optional columns in the middle), but one would want to pick the same btrfs more than once, (which could easily happen with subvolumes and multiple mounts of these).

Cheers,
Chris.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions