HomeFreeBSD

zdb: consistent xattr output

Description

zdb: consistent xattr output

When using zdb to output the value of an xattr only interpret it
as printable characters if the entire byte array is printable.
Additionally, if the --parseable option is set always output the
buffer contents as octal for easy parsing.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #14830

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 8 2023, 6:17 PM
Parents
rG133faca27525: Add dmu_tx_hold_append() interface
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb17e472983e0: zdb: consistent xattr output (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 11 2023, 4:09 PM