Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] additional disk and mount functionality #63098

Closed
nicholasmhughes opened this issue Nov 22, 2022 · 0 comments · Fixed by #63104
Closed

[FEATURE REQUEST] additional disk and mount functionality #63098

nicholasmhughes opened this issue Nov 22, 2022 · 0 comments · Fixed by #63104
Labels
Execution-Module Feature new functionality including changes to functionality and code refactors, etc.

Comments

@nicholasmhughes
Copy link
Collaborator

Describe the solution you'd like

  • function that will return the filesystem type for a path
  • function that will return the underlying block device for a path.

Describe alternatives you've considered

  • the mount.active function provides a data structure showing this information for all mounts, but it'd be nice to not have to pick through that.
  • the disk.fstype function can provide a filesystem type for a given device, but there isn't an easy way to determine which mount corresponds to a given path... and then we're back to picking through the mount.active output to determine the device

Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.

@nicholasmhughes nicholasmhughes added Feature new functionality including changes to functionality and code refactors, etc. needs-triage Execution-Module and removed needs-triage labels Nov 22, 2022
nicholasmhughes added a commit to nicholasmhughes/salt that referenced this issue Nov 22, 2022
Ch3LL pushed a commit that referenced this issue Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Execution-Module Feature new functionality including changes to functionality and code refactors, etc.
Projects
None yet
1 participant