source: chapter08/attr.xml@ 0ebda11

ml-11.0 multilib
Last change on this file since 0ebda11 was 0ebda11, checked in by Thomas Trepl (Moody) <thomas@…>, 7 months ago

Remove entities for multilib pathes
Add usage of libc_cv_rtlddir

  • Property mode set to 100644
File size: 5.5 KB
Line 
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 <!-- - - - - - - - - - -->
68 <!-- Multilib - 32bit -->
69 <!-- - - - - - - - - - -->
70
71 <sect2 arch="ml_32,ml_all" role="installation">
72 <title>Installation of Attr - 32bit</title>
73
74 <para>Clean previous build:</para>
75
76<screen><userinput remap="pre">make distclean</userinput></screen>
77
78 <para>Prepare Attr for compilation:</para>
79
80<screen><userinput remap="configure">CC="gcc -m32" ./configure \
81 --prefix=/usr \
82 --disable-static \
83 --libdir=/usr/lib32 \
84 --host=i686-pc-linux-gnu</userinput></screen>
85
86 <para>Compile the package:</para>
87
88<screen><userinput remap="make">make</userinput></screen>
89
90 <para>Install the package:</para>
91
92<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
93cp -Rv DESTDIR/usr/lib32/* /usr/lib32
94rm -rf DESTDIR</userinput></screen>
95
96 </sect2><!-- m32 -->
97
98 <!-- - - - - - - - - - -->
99 <!-- Multilib - x32bit -->
100 <!-- - - - - - - - - - -->
101
102 <sect2 arch="ml_x32,ml_all" role="installation">
103 <title>Installation of Attr - x32bit</title>
104
105 <para>Clean previous build:</para>
106
107<screen><userinput remap="pre">make distclean</userinput></screen>
108
109 <para>Prepare Attr for compilation:</para>
110
111<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
112 --prefix=/usr \
113 --disable-static \
114 --libdir=/usr/libx32 \
115 --host=x86_64-pc-linux-gnux32</userinput></screen>
116
117 <para>Compile the package:</para>
118
119<screen><userinput remap="make">make</userinput></screen>
120
121 <para>Install the package:</para>
122
123<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
124cp -Rv DESTDIR/usr/libx32/* /usr/libx32
125rm -rf DESTDIR</userinput></screen>
126
127 </sect2><!-- mx32 -->
128
129 <sect2 id="contents-attr" role="content">
130 <title>Contents of Attr</title>
131
132 <segmentedlist>
133 <segtitle>Installed programs</segtitle>
134 <segtitle>Installed library</segtitle>
135 <segtitle>Installed directories</segtitle>
136
137 <seglistitem>
138 <seg>attr, getfattr, and setfattr</seg>
139 <seg>libattr.so</seg>
140 <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg>
141 </seglistitem>
142 </segmentedlist>
143
144 <variablelist>
145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
146 <?dbfo list-presentation="list"?>
147 <?dbhtml list-presentation="table"?>
148
149 <varlistentry id="attr">
150 <term><command>attr</command></term>
151 <listitem>
152 <para>Extends attributes on filesystem objects</para>
153 <indexterm zone="ch-system-attr attr">
154 <primary sortas="b-attr">attr</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="getfattr">
160 <term><command>getfattr</command></term>
161 <listitem>
162 <para>Gets the extended attributes of filesystem objects</para>
163 <indexterm zone="ch-system-attr getfattr">
164 <primary sortas="b-getfattr">getfattr</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="setfattr">
170 <term><command>setfattr</command></term>
171 <listitem>
172 <para>Sets the extended attributes of filesystem objects</para>
173 <indexterm zone="ch-system-attr setfattr">
174 <primary sortas="b-setfattr">setfattr</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="libattr">
180 <term><filename class="libraryfile">libattr</filename></term>
181 <listitem>
182 <para>Contains the library functions for manipulating extended attributes</para>
183 <indexterm zone="ch-system-attr libattr">
184 <primary sortas="c-libattr">libattr</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.