From: Varsha Rao Date: Thu, 9 Jan 2020 11:20:16 +0000 (+0530) Subject: doc: Update about extended attributes X-Git-Tag: v15.1.1~575^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=90f79ed87f098c8f6eb46988bf864b5f675b24a6;p=ceph-ci.git doc: Update about extended attributes Signed-off-by: Varsha Rao --- diff --git a/doc/cephfs/cephfs-shell.rst b/doc/cephfs/cephfs-shell.rst index 496a541a866..8e0be45d6bc 100644 --- a/doc/cephfs/cephfs-shell.rst +++ b/doc/cephfs/cephfs-shell.rst @@ -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 - 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 - 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 to the file + +Options: + -h, --help Shows the help message