Skip to content

Auke/clk scoutfs print#304

Open
aversecat wants to merge 2 commits intoclk/scoutfs_printfrom
auke/clk_scoutfs_print
Open

Auke/clk scoutfs print#304
aversecat wants to merge 2 commits intoclk/scoutfs_printfrom
auke/clk_scoutfs_print

Conversation

@aversecat
Copy link
Copy Markdown
Contributor

No description provided.

Chris already added print filters for most common types, but
omitted totl, indx, orphan, quota, and inode_index items. This
adds those as well, completing the set.

Signed-off-by: Auke Kok <auke.kok@versity.com>
We cannot validate that totl keys have the correct count/value without
also extracting and printing the value for xattrs, which by default
is omitted (a sane default). Add a default-disabled --xattr-values/-V
flag to enable printing these out.

Because xattr values can span multiple items, this only will print
out the first one, and ellipsize it if it continues elsewhere. It is
filtered through isprint() to avoid printing non-printable characters.

Signed-off-by: Auke Kok <auke.kok@versity.com>
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.

1 participant