summaryrefslogtreecommitdiffstats
path: root/usr.sbin/extattrctl/extattrctl.8
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-03-15 03:04:35 +0000
committerrwatson <rwatson@FreeBSD.org>2001-03-15 03:04:35 +0000
commit19471170ebe34962c1c5f89f38eff935ed8796e7 (patch)
tree459463dac60432dccaa85b5492099b4ec3254acf /usr.sbin/extattrctl/extattrctl.8
parentf843a4812be42e079fa066fe7f8e5568764902be (diff)
downloadFreeBSD-src-19471170ebe34962c1c5f89f38eff935ed8796e7.zip
FreeBSD-src-19471170ebe34962c1c5f89f38eff935ed8796e7.tar.gz
o Update extattrctl to take into account the updated EA interface with
explicit namespaces. Modify it to use libutil for string/constant namespace conversions. Update the documentation to take into account the new interface. Obtained from: TrustedBSD Project
Diffstat (limited to 'usr.sbin/extattrctl/extattrctl.8')
-rw-r--r--usr.sbin/extattrctl/extattrctl.816
1 files changed, 12 insertions, 4 deletions
diff --git a/usr.sbin/extattrctl/extattrctl.8 b/usr.sbin/extattrctl/extattrctl.8
index 187b3dc..113ff70 100644
--- a/usr.sbin/extattrctl/extattrctl.8
+++ b/usr.sbin/extattrctl/extattrctl.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
@@ -47,11 +47,13 @@
.Nm
.Cm enable
.Ar path
+.Ar namespace
.Ar attrname
.Ar attrfile
.Nm
.Cm disable
.Ar path
+.Ar namespace
.Ar attrname
.Sh DESCRIPTION
.Nm
@@ -102,23 +104,29 @@ from denying attribute service.
.Pp
This file should not exist before running
.Cm initattr .
-.It Cm enable Ar path Ar attrname Ar attrfile
+.It Cm enable Ar path Ar namespace Ar attrname Ar attrfile
Enable an attribute named
.Ar attrname
+in the namespace
+.Ar namespace
on the file system identified using
.Ar path ,
and backed by initialized attribute file
.Ar attrfile .
+Available namespaces are "user" and "system".
The backing file must have been initialized using
.Cm initattr
before its first use.
Attributes must have been started on the file system prior to the
enabling of any attributes.
-.It Cm disable Ar path Ar attrname
+.It Cm disable Ar path Ar namespace Ar attrname
Disable the attributed named
.Ar attrname
+in namespace
+.Ar namespace
on the file system identified by
.Ar path .
+Available namespaces are "user" and "system".
The file system must have attributes started on it, and the attribute
most have been enabled using
.Cm enable .
@@ -135,7 +143,7 @@ Create an attribute backing file in /.attribute/md5, and set the maximum
size of each attribute to 17 bytes, with a sparse file used for storing
the attributes.
.Pp
-.Dl extattrctl enable / md5 /.attribute/md5
+.Dl extattrctl enable / system md5 /.attribute/md5
.Pp
Enable an attribute named md5 on the root file system, backed from the file
/.attribute/md5.
OpenPOWER on IntegriCloud