summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2007-12-03 16:55:54 +0000
committerTim Shimmin <tes@sgi.com>2007-12-03 16:55:54 +0000
commitc329461afb4c9a95eca8f44cd1d87471e8213464 (patch)
treede3fe633912157ebf4d89905a0fc774bdd909a40
parent53e2e16e7cc37297670358b1d72fee4dd1496b1a (diff)
downloadattr-c329461afb4c9a95eca8f44cd1d87471e8213464.tar.gz
Update man pages about tree walking and symlinks.
Merge of master-melb:xfs-cmds:30185a by kenmcd. Update man pages about tree walking and symlinks.
-rw-r--r--doc/CHANGES2
-rw-r--r--man/man1/getfattr.113
2 files changed, 8 insertions, 7 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 035f09f..29e367f 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,5 +1,7 @@
attr-2.4.41
- remove outdated doc/ea-conv thanks to Andreas Gruenbacher
+ - Update getfattr man page for symlink related options
+ thanks to Andreas G.
attr-2.4.40 (21 November 2007)
- Address compilation warning about signedness in libattr.c
diff --git a/man/man1/getfattr.1 b/man/man1/getfattr.1
index 97251fa..3655044 100644
--- a/man/man1/getfattr.1
+++ b/man/man1/getfattr.1
@@ -56,11 +56,8 @@ while strings encoded as hexidecimal and base64 are prefixed with
0x and 0s, respectively.
.TP
.BR \-h ", " \-\-no-dereference
-Do not follow symlinks.
-If
-.I pathname
-is a symbolic link, the symbolic link itself is examined,
-rather than the file the link refers to.
+Do not dereference symlinks. Instead of the file a symlink refers to, the
+symlink itself is examined.
.TP
.BR \-m " \f2pattern\f1, " \-\-match "=\f2pattern\f1"
Only include attributes with names matching the regular expression
@@ -84,13 +81,15 @@ Dump out the extended attribute value(s) only.
List the attributes of all files and directories recursively.
.TP
.BR \-L ", " \-\-logical
-Logical walk, follow symbolic links.
+Logical walk, follow symbolic links to directories.
The default behaviour is to follow symbolic link arguments, and to
skip symbolic links encountered in subdirectories.
+Only effective in combination with \-R.
.TP
.BR \-P ", " \-\-physical
-Physical walk, skip all symbolic links.
+Physical walk, do not follow symbolic links to directories.
This also skips symbolic link arguments.
+Only effective in combination with \-R.
.TP
.B \-\-version
Print the version of