[2eb6b1d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-attr" role="wrap">
|
---|
| 9 | <?dbhtml filename="attr.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Attr-&attr-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-attr">
|
---|
| 14 | <primary sortas="a-Attr">Attr</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>Attr is a library for getting and setting POSIX.1e
|
---|
| 21 | (formerly POSIX 6) draft 15 capabilities.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Attr</title>
|
---|
| 27 |
|
---|
| 28 | <para os="a">Prepare Attr for compilation:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="b"><userinput>./configure --prefix=/usr \
|
---|
| 31 | --libdir=/lib --libexecdir=/usr/lib</userinput></screen>
|
---|
| 32 |
|
---|
| 33 | <para os="c">Compile the package:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 36 |
|
---|
| 37 | <para os="e">This package does not come with a test suite.</para>
|
---|
| 38 |
|
---|
| 39 | <para os="f">Install the package:</para>
|
---|
| 40 |
|
---|
| 41 | <screen os="g"><userinput>make install install-dev install-lib</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | <para os="h">Remove extra symlinks:</para>
|
---|
| 44 |
|
---|
| 45 | <screen os="i"><userinput>rm -v /lib/libattr.{,l}a</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para os="j">Set the proper permissions on the library:</para>
|
---|
| 48 |
|
---|
| 49 | <screen os="k"><userinput>chmod 755 -v /lib/libattr.so.1.1.0</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2 id="contents-attr" role="content">
|
---|
| 54 | <title>Contents of Attr</title>
|
---|
| 55 |
|
---|
| 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed programs</segtitle>
|
---|
| 58 | <segtitle>Installed libraries</segtitle>
|
---|
| 59 | <segtitle>Installed directories</segtitle>
|
---|
| 60 |
|
---|
| 61 | <seglistitem>
|
---|
| 62 | <seg>attr, getfattr, setfattr</seg>
|
---|
| 63 | <seg>libattr.[a,so]</seg>
|
---|
| 64 | <seg>/usr/include/attr</seg>
|
---|
| 65 | </seglistitem>
|
---|
| 66 | </segmentedlist>
|
---|
| 67 |
|
---|
| 68 | <variablelist>
|
---|
| 69 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 70 | <?dbfo list-presentation="list"?>
|
---|
| 71 | <?dbhtml list-presentation="table"?>
|
---|
| 72 |
|
---|
| 73 | <varlistentry id="attr">
|
---|
| 74 | <term><command>attr</command></term>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>Manage extended attributes on filesystem objects</para>
|
---|
| 77 | <indexterm zone="ch-system-attr attr">
|
---|
| 78 | <primary sortas="b-attr">attr</primary>
|
---|
| 79 | </indexterm>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
| 83 | <varlistentry id="getfattr">
|
---|
| 84 | <term><command>getfattr</command></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>Get extended attributes of filesystem objects</para>
|
---|
| 87 | <indexterm zone="ch-system-attr getfattr">
|
---|
| 88 | <primary sortas="b-getfattr">getfattr</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
| 93 | <varlistentry id="setfattr">
|
---|
| 94 | <term><command>setfattr</command></term>
|
---|
| 95 | <listitem>
|
---|
| 96 | <para>Set extended attributes of filesystem objects</para>
|
---|
| 97 | <indexterm zone="ch-system-attr setfattr">
|
---|
| 98 | <primary sortas="b-setfattr">setfattr</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="libattr">
|
---|
| 104 | <term><filename class="libraryfile">libattr</filename></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Library to manage extended attributes on filesystem objects</para>
|
---|
| 107 | <indexterm zone="ch-system-attr libattr">
|
---|
| 108 | <primary sortas="c-libattr">libattr</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | </variablelist>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | </sect1>
|
---|