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

zsnapshots: check if input is a valid ZFS filesystem #560

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

zdykstra
Copy link
Member

zsnapshots is used from the recovery shell, and as such it accepts any input from the user. Attempt minimal validation that the filesystem name is actually a ZFS filesystem . Errors are logged via zerror, to work in tandem with on-going work to print zerror logs to recovery shell.

@zdykstra zdykstra merged commit 14d8554 into master Dec 18, 2023
3 checks passed
@zdykstra zdykstra deleted the user-input-was-a-mistake branch December 18, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants