-
Notifications
You must be signed in to change notification settings - Fork 13
docs: improve clarity in xattrs and chunked format documentation #29
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -125,6 +125,7 @@ When clear, the full byte selects one of the built-in short namespace prefixes: | |||||||||||||||||||||||||||||||||
| | 4 | `trusted.` | | ||||||||||||||||||||||||||||||||||
| | 6 | `security.` | | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
Comment on lines
+120
to
+127
|
||||||||||||||||||||||||||||||||||
| | Value | Prefix | | |
| |-------|--------| | |
| | 1 | `user.` | | |
| | 2 | `system.posix_acl_access` | | |
| | 3 | `system.posix_acl_default` | | |
| | 4 | `trusted.` | | |
| | 6 | `security.` | | |
| | Value | Prefix or full name | | |
| |-------|----------------------| | |
| | 1 | `user.` | | |
| | 2 | `system.posix_acl_access` | | |
| | 3 | `system.posix_acl_default` | | |
| | 4 | `trusted.` | | |
| | 6 | `security.` | | |
| For indices `2` and `3`, the string shown above is the entire xattr name (no additional suffix bytes are stored), so `e_name_len` must be `0`. For the other indices, the string is a prefix and the remaining name bytes are stored as the suffix of length `e_name_len`. |
Copilot
AI
Mar 21, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a blank line before the (shared_xattr_area)= label. As written, the label is immediately adjacent to the preceding paragraph, which can cause MyST/Sphinx to treat it as part of the paragraph instead of a standalone label and may break cross-referencing.
| All other `e_name_index` values (including `0` and `5`) are reserved and must not be used unless defined by a future format extension. | |
| All other `e_name_index` values (including `0` and `5`) are reserved and must not be used unless defined by a future format extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, e_name_index 0 is used for arbitary namespace xattrs. They are only hidden by the runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @hsiangkao,
Thanks for the clarification. I’ve updated the documentation to correctly reflect the usage of e_name_index = 0 for arbitrary namespace xattrs and pushed the changes.
Please let me know if anything else needs adjustment.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to change this