From 90f79ed87f098c8f6eb46988bf864b5f675b24a6 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Thu, 9 Jan 2020 16:50:16 +0530 Subject: [PATCH] doc: Update about extended attributes Signed-off-by: Varsha Rao --- doc/cephfs/cephfs-shell.rst | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) 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 -- 2.39.5