source: chapter08/attr.xml@ a9b1aba

xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1
Last change on this file since a9b1aba was a9b1aba, checked in by Xi Ruoyao <xry111@…>, 13 months ago

loongarch: attr: Update config.{guess,sub}

  • 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 of 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 &update-config-text;
45
46<screen><userinput remap="pre">tar -C build-aux &update-config-arg;</userinput></screen>
47
48 <para>Prepare Attr for compilation:</para>
49
50<screen><userinput remap="configure">./configure --prefix=/usr \
51 --disable-static \
52 --sysconfdir=/etc \
53 --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen>
54
55 <para>Compile the package:</para>
56
57<screen><userinput remap="make">make</userinput></screen>
58
59 <para>The tests must be run on a filesystem that supports extended
60 attributes such as the ext2, ext3, or ext4 filesystems.
61 To test the results, issue:</para>
62
63<screen><userinput remap="test">make check</userinput></screen>
64
65 <para>Install the package:</para>
66
67<screen><userinput remap="install">make install</userinput></screen>
68
69 </sect2>
70
71 <sect2 id="contents-attr" role="content">
72 <title>Contents of Attr</title>
73
74 <segmentedlist>
75 <segtitle>Installed programs</segtitle>
76 <segtitle>Installed library</segtitle>
77 <segtitle>Installed directories</segtitle>
78
79 <seglistitem>
80 <seg>attr, getfattr, and setfattr</seg>
81 <seg>libattr.so</seg>
82 <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg>
83 </seglistitem>
84 </segmentedlist>
85
86 <variablelist>
87 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88 <?dbfo list-presentation="list"?>
89 <?dbhtml list-presentation="table"?>
90
91 <varlistentry id="attr">
92 <term><command>attr</command></term>
93 <listitem>
94 <para>Extends attributes on filesystem objects</para>
95 <indexterm zone="ch-system-attr attr">
96 <primary sortas="b-attr">attr</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="getfattr">
102 <term><command>getfattr</command></term>
103 <listitem>
104 <para>Gets the extended attributes of filesystem objects</para>
105 <indexterm zone="ch-system-attr getfattr">
106 <primary sortas="b-getfattr">getfattr</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="setfattr">
112 <term><command>setfattr</command></term>
113 <listitem>
114 <para>Sets the extended attributes of filesystem objects</para>
115 <indexterm zone="ch-system-attr setfattr">
116 <primary sortas="b-setfattr">setfattr</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="libattr">
122 <term><filename class="libraryfile">libattr</filename></term>
123 <listitem>
124 <para>Contains the library functions for manipulating extended attributes</para>
125 <indexterm zone="ch-system-attr libattr">
126 <primary sortas="c-libattr">libattr</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 </variablelist>
132
133 </sect2>
134
135</sect1>
Note: See TracBrowser for help on using the repository browser.