source: chapter06/attr.xml@ 0a56911

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since 0a56911 was 686badf, checked in by Matthew Burgess <matthew@…>, 11 years ago

Added full build of Systemd including its remaining dependencies (attr, gperf, intltool, and libcap2).

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10125 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.9 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-ch6-sbu;</seg>
35 <seg>&attr-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Attr</title>
43
44 <para>Modify the documentation directory so that it is a versioned
45 directory:</para>
46
47<screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
48
49 <para>Prepare Attr for compilation:</para>
50
51<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib</userinput></screen>
52
53 <para>Compile the package:</para>
54
55<screen><userinput remap="make">make</userinput></screen>
56
57 <para>The attr tests need to be run on a filesystem that supports extended
58 attributes. To test the results, issue:</para>
59
60<screen><userinput remap="test">make tests root-tests ext-tests</userinput></screen>
61
62 <para>Install the package:</para>
63
64<screen><userinput remap="install">make install install-dev install-lib</userinput></screen>
65
66 </sect2>
67
68 <sect2 id="contents-attr" role="content">
69 <title>Contents of Attr</title>
70
71 <segmentedlist>
72 <segtitle>Installed programs</segtitle>
73 <segtitle>Installed library</segtitle>
74 <segtitle>Installed directories</segtitle>
75
76 <seglistitem>
77 <seg>attr, getfattr, and setattr</seg>
78 <seg>libattr.{so,a}</seg>
79 <seg>/usr/{include/attr,share/doc/attr-&attr-version;}</seg>
80 </seglistitem>
81 </segmentedlist>
82
83 <variablelist>
84 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
85 <?dbfo list-presentation="list"?>
86 <?dbhtml list-presentation="table"?>
87
88 <varlistentry id="attr">
89 <term><command>attr</command></term>
90 <listitem>
91 <para>Extends attributes on filesystem objects</para>
92 <indexterm zone="ch-system-attr attr">
93 <primary sortas="b-attr">attr</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="getfattr">
99 <term><command>getfattr</command></term>
100 <listitem>
101 <para>Gets the extended attributes of filesystem objects.</para>
102 <indexterm zone="ch-system-attr getfattr">
103 <primary sortas="b-getfattr">getfattr</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="setattr">
109 <term><command>setattr</command></term>
110 <listitem>
111 <para>Sets the extended attributes of filesystem objects</para>
112 <indexterm zone="ch-system-attr setattr">
113 <primary sortas="b-setattr">setattr</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="libattr">
119 <term><filename class="libraryfile">libattr.{so,a}</filename></term>
120 <listitem>
121 <para>Contains the <application>attr</application> API functions.</para>
122 <indexterm zone="ch-system-attr libattr">
123 <primary sortas="c-libattr">libattr.{so,a}</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 </variablelist>
129
130 </sect2>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.