HomeFreeBSD

Improve snapshot listing error message

Description

Improve snapshot listing error message

Provide a hint in the error message if listing snapshots for a
single dataset fails.

Using -r is not needed to list all snapshots so requiring it when
listing snapshots for a single dataset makes it confusing. This
change will make the error message more clear.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Md Islam <mdnahian@outlook.com>
Closes #8047

Details

Provenance
Md Islam <mdnahian@outlook.com>Authored on Oct 30 2018, 4:47 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 30 2018, 4:47 PM
Parents
rG0a544c174d54: zdb -k does not work on Linux when used with -e
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG9042f6033a72: Improve snapshot listing error message (authored by Md Islam <mdnahian@outlook.com>).Oct 30 2018, 4:47 PM