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 | <sect1info condition="script">
|
---|
12 | <productname>attr</productname>
|
---|
13 | <productnumber>&attr-version;</productnumber>
|
---|
14 | <address>&attr-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
17 | <title>Attr-&attr-version;</title>
|
---|
18 |
|
---|
19 | <indexterm zone="ch-system-attr">
|
---|
20 | <primary sortas="a-Attr">Attr</primary>
|
---|
21 | </indexterm>
|
---|
22 |
|
---|
23 | <sect2 role="package">
|
---|
24 | <title/>
|
---|
25 |
|
---|
26 | <para>The attr package contains utilities to administer the extended
|
---|
27 | attributes on filesystem objects.</para>
|
---|
28 |
|
---|
29 | <segmentedlist>
|
---|
30 | <segtitle>&buildtime;</segtitle>
|
---|
31 | <segtitle>&diskspace;</segtitle>
|
---|
32 |
|
---|
33 | <seglistitem>
|
---|
34 | <seg>&attr-fin-sbu;</seg>
|
---|
35 | <seg>&attr-fin-du;</seg>
|
---|
36 | </seglistitem>
|
---|
37 | </segmentedlist>
|
---|
38 |
|
---|
39 | </sect2>
|
---|
40 |
|
---|
41 | <sect2 role="installation">
|
---|
42 | <title>Installation of Attr</title>
|
---|
43 |
|
---|
44 | <para>Prepare Attr for compilation:</para>
|
---|
45 |
|
---|
46 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
47 | --disable-static \
|
---|
48 | --sysconfdir=/etc \
|
---|
49 | --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen>
|
---|
50 |
|
---|
51 | <para>Compile the package:</para>
|
---|
52 |
|
---|
53 | <screen><userinput remap="make">make</userinput></screen>
|
---|
54 |
|
---|
55 | <para>The tests need to be run on a filesystem that supports extended
|
---|
56 | attributes such as the ext2, ext3, or ext4 filesystems.
|
---|
57 | To test the results, issue:</para>
|
---|
58 |
|
---|
59 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
60 |
|
---|
61 | <para>Install the package:</para>
|
---|
62 |
|
---|
63 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
64 |
|
---|
65 | </sect2>
|
---|
66 |
|
---|
67 | <sect2 id="contents-attr" role="content">
|
---|
68 | <title>Contents of Attr</title>
|
---|
69 |
|
---|
70 | <segmentedlist>
|
---|
71 | <segtitle>Installed programs</segtitle>
|
---|
72 | <segtitle>Installed library</segtitle>
|
---|
73 | <segtitle>Installed directories</segtitle>
|
---|
74 |
|
---|
75 | <seglistitem>
|
---|
76 | <seg>attr, getfattr, and setfattr</seg>
|
---|
77 | <seg>libattr.so</seg>
|
---|
78 | <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg>
|
---|
79 | </seglistitem>
|
---|
80 | </segmentedlist>
|
---|
81 |
|
---|
82 | <variablelist>
|
---|
83 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
84 | <?dbfo list-presentation="list"?>
|
---|
85 | <?dbhtml list-presentation="table"?>
|
---|
86 |
|
---|
87 | <varlistentry id="attr">
|
---|
88 | <term><command>attr</command></term>
|
---|
89 | <listitem>
|
---|
90 | <para>Extends attributes on filesystem objects</para>
|
---|
91 | <indexterm zone="ch-system-attr attr">
|
---|
92 | <primary sortas="b-attr">attr</primary>
|
---|
93 | </indexterm>
|
---|
94 | </listitem>
|
---|
95 | </varlistentry>
|
---|
96 |
|
---|
97 | <varlistentry id="getfattr">
|
---|
98 | <term><command>getfattr</command></term>
|
---|
99 | <listitem>
|
---|
100 | <para>Gets the extended attributes of filesystem objects</para>
|
---|
101 | <indexterm zone="ch-system-attr getfattr">
|
---|
102 | <primary sortas="b-getfattr">getfattr</primary>
|
---|
103 | </indexterm>
|
---|
104 | </listitem>
|
---|
105 | </varlistentry>
|
---|
106 |
|
---|
107 | <varlistentry id="setfattr">
|
---|
108 | <term><command>setfattr</command></term>
|
---|
109 | <listitem>
|
---|
110 | <para>Sets the extended attributes of filesystem objects</para>
|
---|
111 | <indexterm zone="ch-system-attr setfattr">
|
---|
112 | <primary sortas="b-setfattr">setfattr</primary>
|
---|
113 | </indexterm>
|
---|
114 | </listitem>
|
---|
115 | </varlistentry>
|
---|
116 |
|
---|
117 | <varlistentry id="libattr">
|
---|
118 | <term><filename class="libraryfile">libattr</filename></term>
|
---|
119 | <listitem>
|
---|
120 | <para>Contains the library functions for manipulating extended attributes</para>
|
---|
121 | <indexterm zone="ch-system-attr libattr">
|
---|
122 | <primary sortas="c-libattr">libattr</primary>
|
---|
123 | </indexterm>
|
---|
124 | </listitem>
|
---|
125 | </varlistentry>
|
---|
126 |
|
---|
127 | </variablelist>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | </sect1>
|
---|