aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-08-05 00:52:26 -0400
committerJeff Garzik <jeff@garzik.org>2006-08-05 00:52:26 -0400
commit7d79d20f76b28c4778fab919cf0005b692b41225 (patch)
tree05b8244eeaf7b51c0d142d801a58684f20974f66
parent97211d29da7769ff979958cb8048f83519cf79f2 (diff)
downloaddbfs-7d79d20f76b28c4778fab919cf0005b692b41225.tar.gz
Update SCHEMA to reflect extented attribute support.
-rw-r--r--SCHEMA19
1 files changed, 19 insertions, 0 deletions
diff --git a/SCHEMA b/SCHEMA
index aa8ca0e..d7897c3 100644
--- a/SCHEMA
+++ b/SCHEMA
@@ -65,3 +65,22 @@ key: /symlink/%Lu inode number associated with this symlink
value: UTF8 string, containing link text (variable length)
+extended (named) attributes
+---------------------------
+name max length: 256
+data max length: 1MB (1024 * 1024 bytes)
+
+key: /xattr/%Lu/%s inode number, attribute name
+
+value: variable-length binary data
+
+
+key: /xattr/%Lu inode number
+
+value: An array of struct dbfs_xlist, aligned on DBFS_XLIST_ALIGN bounds.
+
+struct dbfs_xlist:
+guint32 namelen length of attribute name
+char name[0] UTF8 attribute name (namelen bytes)
+0-7 bytes alignment padding
+