source: chapter08/attr.xml@ b697c87

multilib
Last change on this file since b697c87 was 777f469, checked in by Thomas Trepl (Moody) <thomas@…>, 19 months ago

Automatic merge of trunk into multilib

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[eec8fcb]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
[54948b7]26 <para>The Attr package contains utilities to administer the extended
27 attributes of filesystem objects.</para>
[eec8fcb]28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
[6dfcfecc]34 <seg>&attr-fin-sbu;</seg>
35 <seg>&attr-fin-du;</seg>
[eec8fcb]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
[d7a9421]46<screen><userinput remap="configure">./configure --prefix=/usr \
[f6528ac8]47 --disable-static \
48 --sysconfdir=/etc \
49 --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen>
[1118b17]50
[eec8fcb]51 <para>Compile the package:</para>
52
53<screen><userinput remap="make">make</userinput></screen>
54
[54948b7]55 <para>The tests must be run on a filesystem that supports extended
[d672ab7]56 attributes such as the ext2, ext3, or ext4 filesystems.
[f6528ac8]57 To test the results, issue:</para>
[eec8fcb]58
[f6528ac8]59<screen><userinput remap="test">make check</userinput></screen>
[eec8fcb]60
61 <para>Install the package:</para>
62
[f6528ac8]63<screen><userinput remap="install">make install</userinput></screen>
[eec8fcb]64
65 </sect2>
66
[6dfcfecc]67 <!-- - - - - - - - - - -->
68 <!-- Multilib - 32bit -->
69 <!-- - - - - - - - - - -->
[fd48baa]70
71 <sect2 arch="ml_32,ml_all" role="installation">
[6dfcfecc]72 <title>Installation of Attr - 32bit</title>
[b3f1ebb3]73
74 <para>Clean previous build:</para>
75
76<screen><userinput remap="pre">make distclean</userinput></screen>
77
[2d66549]78 <para>Prepare Attr for compilation:</para>
[b3f1ebb3]79
80<screen><userinput remap="configure">CC="gcc -m32" ./configure \
81 --prefix=/usr \
82 --disable-static \
[9282602]83 --sysconfdir=/etc \
84 --libdir=/usr/lib32 \
[b3f1ebb3]85 --host=i686-pc-linux-gnu</userinput></screen>
86
87 <para>Compile the package:</para>
88
89<screen><userinput remap="make">make</userinput></screen>
90
91 <para>Install the package:</para>
92
[6dfcfecc]93<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
[0ebda11]94cp -Rv DESTDIR/usr/lib32/* /usr/lib32
[b3f1ebb3]95rm -rf DESTDIR</userinput></screen>
96
[6dfcfecc]97 </sect2><!-- m32 -->
[b3f1ebb3]98
[6dfcfecc]99 <!-- - - - - - - - - - -->
100 <!-- Multilib - x32bit -->
101 <!-- - - - - - - - - - -->
[fd48baa]102
103 <sect2 arch="ml_x32,ml_all" role="installation">
[6dfcfecc]104 <title>Installation of Attr - x32bit</title>
[b3f1ebb3]105
106 <para>Clean previous build:</para>
107
108<screen><userinput remap="pre">make distclean</userinput></screen>
109
[2d66549]110 <para>Prepare Attr for compilation:</para>
[b3f1ebb3]111
[0aaf6a31]112<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
[b3f1ebb3]113 --prefix=/usr \
114 --disable-static \
[9282602]115 --sysconfdir=/etc \
[0ebda11]116 --libdir=/usr/libx32 \
[b3f1ebb3]117 --host=x86_64-pc-linux-gnux32</userinput></screen>
118
119 <para>Compile the package:</para>
120
121<screen><userinput remap="make">make</userinput></screen>
122
123 <para>Install the package:</para>
124
[6dfcfecc]125<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
[0ebda11]126cp -Rv DESTDIR/usr/libx32/* /usr/libx32
[b3f1ebb3]127rm -rf DESTDIR</userinput></screen>
128
[6dfcfecc]129 </sect2><!-- mx32 -->
[b3f1ebb3]130
[eec8fcb]131 <sect2 id="contents-attr" role="content">
132 <title>Contents of Attr</title>
133
134 <segmentedlist>
135 <segtitle>Installed programs</segtitle>
136 <segtitle>Installed library</segtitle>
137 <segtitle>Installed directories</segtitle>
138
139 <seglistitem>
[b2cb71ac]140 <seg>attr, getfattr, and setfattr</seg>
[040ecb6]141 <seg>libattr.so</seg>
[145a985]142 <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg>
[eec8fcb]143 </seglistitem>
144 </segmentedlist>
145
146 <variablelist>
147 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
148 <?dbfo list-presentation="list"?>
149 <?dbhtml list-presentation="table"?>
150
151 <varlistentry id="attr">
152 <term><command>attr</command></term>
153 <listitem>
154 <para>Extends attributes on filesystem objects</para>
155 <indexterm zone="ch-system-attr attr">
156 <primary sortas="b-attr">attr</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="getfattr">
162 <term><command>getfattr</command></term>
163 <listitem>
[afba93b]164 <para>Gets the extended attributes of filesystem objects</para>
[eec8fcb]165 <indexterm zone="ch-system-attr getfattr">
166 <primary sortas="b-getfattr">getfattr</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
[b2cb71ac]171 <varlistentry id="setfattr">
172 <term><command>setfattr</command></term>
[eec8fcb]173 <listitem>
174 <para>Sets the extended attributes of filesystem objects</para>
[b2cb71ac]175 <indexterm zone="ch-system-attr setfattr">
176 <primary sortas="b-setfattr">setfattr</primary>
[eec8fcb]177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="libattr">
182 <term><filename class="libraryfile">libattr</filename></term>
183 <listitem>
[03e6064]184 <para>Contains the library functions for manipulating extended attributes</para>
[eec8fcb]185 <indexterm zone="ch-system-attr libattr">
186 <primary sortas="c-libattr">libattr</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.