summaryrefslogtreecommitdiff
path: root/man/man1/attr.1
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-01-12 23:53:25 +0000
committerNathan Scott <nathans@sgi.com>2006-01-12 23:53:25 +0000
commit5850a810d635e16a5a7739d9435c1f8ae054d6a0 (patch)
treec48692700f2d326510d762c72804b7b198700570 /man/man1/attr.1
parentd61ec00a035fde2352e26b1352399fd4469b318c (diff)
downloadattr-5850a810d635e16a5a7739d9435c1f8ae054d6a0.tar.gz
Implement the list_attr IRIX API on top of the Linux API. For fsstress.
Diffstat (limited to 'man/man1/attr.1')
-rw-r--r--man/man1/attr.126
1 files changed, 23 insertions, 3 deletions
diff --git a/man/man1/attr.1 b/man/man1/attr.1
index 9c1d905..ab555f1 100644
--- a/man/man1/attr.1
+++ b/man/man1/attr.1
@@ -3,12 +3,14 @@
attr \- extended attributes on XFS filesystem objects
.SH SYNOPSIS
.nf
-\f3attr\f1 [ \f3\-LRq\f1 ] \f3\-s attrname\f1 [ \f3\-V attrvalue\f1 ] \c
+\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-s attrname\f1 [ \f3\-V attrvalue\f1 ] \c
\f3pathname\f1
.sp .8v
-\f3attr\f1 [ \f3\-LRq\f1 ] \f3\-g attrname pathname\f1
+\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-g attrname pathname\f1
.sp .8v
-\f3attr\f1 [ \f3\-LRq\f1 ] \f3\-r attrname pathname\f1
+\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-r attrname pathname\f1
+.sp .8v
+\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-l pathname\f1
.sp .8v
.fi
.SH OVERVIEW
@@ -84,6 +86,18 @@ With the
flag, \f4stdout\fP will be exactly and only the value of the attribute,
suitable for storage directly into a file or processing via a piped command.
.TP
+.B LIST
+The
+.B \-l
+option tells
+.I attr
+to list the names of all the attributes that are associated with the object,
+and the number of bytes in the value of each of those attributes.
+With the
+.B \-q
+flag, \f4stdout\fP will be a simple list of only the attribute names,
+one per line, suitable for input into a script.
+.TP
.B REMOVE
The
.B \-r attrname
@@ -131,6 +145,12 @@ attribute namespace rather that the
.I USER
attribute namespace.
.PP
+The
+.B \-S
+option is similar, except it specifies use of the
+.I security
+attribute namespace.
+.PP
When the
.B \-q
option is given