Main index | Section 8 | 日本語 | Options |
The first argument on the command line indicates the operation to be performed. Operation must be one of the following:
start path | |
Start extended attribute support on the file system named using path. The file system must be an UFS1 file system, and the UFS_EXTATTR kernel option must have been enabled. | |
stop path | |
Stop extended attribute support on the file system named using path. Extended attribute support must previously have been started. | |
initattr
[
The
The
This file should not exist before running initattr. | |
showattr attrfile | |
Show the attribute header values in the attribute file named by attrfile. | |
enable path attrnamespace attrname attrfile | |
Enable an attribute named attrname in the namespace attrnamespace on the file system identified using path, and backed by initialized attribute file attrfile. Available namespaces are "user" and "system". The backing file must have been initialized using initattr before its first use. Attributes must have been started on the file system prior to the enabling of any attributes. | |
disable path attrnamespace attrname | |
Disable the attributed named attrname in namespace attrnamespace on the file system identified by path. Available namespaces are "user" and "system". The file system must have attributes started on it, and the attribute most have been enabled using enable. | |
extattrctl start /
Start extended attributes on the root file system.
extattrctl initattr 17 /.attribute/system/md5
Create an attribute backing file in /.attribute/system/md5, and set the maximum size of each attribute to 17 bytes, with a sparse file used for storing the attributes.
extattrctl enable / system md5 /.attribute/system/md5
Enable an attribute named md5 on the root file system, backed from the file /.attribute/system/md5.
extattrctl disable / md5
Disable the attribute named md5 on the root file system.
extattrctl stop /
Stop extended attributes on the root file system.
EXTATTRCTL (8) | March 30, 2000 |
Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.