]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: Update about extended attributes
authorVarsha Rao <varao@redhat.com>
Thu, 9 Jan 2020 11:20:16 +0000 (16:50 +0530)
committerVarsha Rao <varao@redhat.com>
Wed, 29 Jan 2020 19:46:27 +0000 (01:16 +0530)
Signed-off-by: Varsha Rao <varao@redhat.com>
doc/cephfs/cephfs-shell.rst

index 496a541a86669a2711841fc27aec78c5a7964f35..8e0be45d6bc453d509631c4e4b8dca86ed1030b1 100644 (file)
@@ -394,3 +394,50 @@ Usage:
 
 * dir_name - directory under which snapshot should be created or deleted
 
+setxattr
+--------
+
+Set extended attribute for a file
+
+Usage :
+
+     setxattr [-h] <path> <name> <value>
+
+*  path - Path to the file
+
+*  name - Extended attribute name to get or set
+
+*  value - Extended attribute value to be set
+
+Options:
+  -h, --help   Shows the help message
+
+getxattr
+--------
+
+Get extended attribute value for the name associated with the path
+
+Usage :
+
+     getxattr [-h] <path> <name>
+
+*  path - Path to the file
+
+*  name - Extended attribute name to get or set
+
+Options:
+  -h, --help   Shows the help message
+
+listxattr
+---------
+
+List extended attribute names associated with the path
+
+Usage :
+
+     listxattr [-h] <path>
+
+*  path - Path to the file
+
+Options:
+  -h, --help   Shows the help message