diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-10 16:47:21 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-10 16:47:21 +0000 |
commit | 0e095252a26826dde5e578199f4708b57ae56da9 (patch) | |
tree | 698986a5094472cc42cd28db655c75d54676d8d8 /usr.sbin/extattr/rmextattr.8 | |
parent | d647bc5f85f3060967286a9f766160e63af386a3 (diff) | |
download | FreeBSD-src-0e095252a26826dde5e578199f4708b57ae56da9.zip FreeBSD-src-0e095252a26826dde5e578199f4708b57ae56da9.tar.gz |
Add -h flags to each of the *extattr(8) commands, indicating that
the command should not follow the symlink if the target file is a
symlink. Invoke the extattr_*_link(2) version of the system call
in that situation, instead of extattr_*_file(2). This is
consistent with other attribute management tools in the system.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'usr.sbin/extattr/rmextattr.8')
-rw-r--r-- | usr.sbin/extattr/rmextattr.8 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/extattr/rmextattr.8 b/usr.sbin/extattr/rmextattr.8 index dc87bf9..54e98bf 100644 --- a/usr.sbin/extattr/rmextattr.8 +++ b/usr.sbin/extattr/rmextattr.8 @@ -42,21 +42,21 @@ .Nd manipulated extended attributes .Sh SYNOPSIS .Nm getextattr -.Op Fl fqsx +.Op Fl fhqsx .Ar attrnamespace .Ar attrname .Ar filename ... .Nm lsextattr -.Op Fl fq +.Op Fl fhq .Ar attrnamespace .Ar filename ... .Nm rmextattr -.Op Fl fq +.Op Fl fhq .Ar attrnamespace .Ar attrname .Ar filename ... .Nm setextattr -.Op Fl fq +.Op Fl fhq .Ar attrnamespace .Ar attrname .Ar attrvalue @@ -83,6 +83,9 @@ The following options are available: .It Fl -f (Force) Ignore errors on individual filenames and continue with the remaining arguments. +.It Fl -h +(No follow) If the file is a symbolic link, perform the operation on the +link itself rather than the file that the link points to. .It Fl -q (Quiet) Do not print out the pathname and suppress error messages. .It Fl -s |