summaryrefslogtreecommitdiffstats
path: root/usr.sbin/getextattr/getextattr.8
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-03-15 03:09:48 +0000
committerrwatson <rwatson@FreeBSD.org>2001-03-15 03:09:48 +0000
commit85b9d104186945a47263e0191a38713f62759ecb (patch)
tree4b2fe9c1d169fd43b0903d1ee51234d586a5ddd1 /usr.sbin/getextattr/getextattr.8
parent19471170ebe34962c1c5f89f38eff935ed8796e7 (diff)
downloadFreeBSD-src-85b9d104186945a47263e0191a38713f62759ecb.zip
FreeBSD-src-85b9d104186945a47263e0191a38713f62759ecb.tar.gz
o Update getextattr and setextattr utilities to take into account the
revised EA interface with explicit namespacing. Link against libutil to provide string/constant conversion for namespaces. Document revised interface. Obtained from: TrustedBSD Project
Diffstat (limited to 'usr.sbin/getextattr/getextattr.8')
-rw-r--r--usr.sbin/getextattr/getextattr.89
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/getextattr/getextattr.8 b/usr.sbin/getextattr/getextattr.8
index 75881d9..306c23c 100644
--- a/usr.sbin/getextattr/getextattr.8
+++ b/usr.sbin/getextattr/getextattr.8
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 2000 Robert N. M. Watson
+.\" Copyright (c) 2000, 2001 Robert N. M. Watson
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -34,6 +34,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl ls
+.Ar namespace
.Ar attrname
.Ar filename ...
.Sh DESCRIPTION
@@ -41,6 +42,10 @@
is a user tool to retrieve a named extended attribute on a file or
directory.
The
+.Ar namespace
+argument should be the namespace of the attribute to retrieve: legal
+values are "user" and "system".
+The
.Ar attrname
argument should be the name of the attribute, and
.Ar filename
@@ -70,7 +75,7 @@ to succeed, the attribute service must be available on the file system,
and the attribute must of defined for the file queried.
.Sh EXAMPLES
.Bd -literal -offset indent
-# getextattr md5 /kernel
+# getextattr system md5 /kernel
/kernel:
61 61 33 62 39 39 66 65 31 35 35 32 31 62 65 32
62 36 38 36 62 31 66 39 63 64 33 39 35 36 36 31
OpenPOWER on IntegriCloud