source: postlfs/security/attr.xml@ d309b21

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d309b21 was 2ac4928, checked in by Wayne Blaszczyk <wblaszcz@…>, 14 years ago

Added new package. attr-2.4.44

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8124 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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 <!ENTITY attr-download-http "http://mirror.dknss.com/nongnu/attr/attr-&attr-version;.src.tar.gz">
8 <!ENTITY attr-download-ftp " ">
9 <!ENTITY attr-md5sum "d132c119831c27350e10b9f885711adc">
10 <!ENTITY attr-size "309 KB">
11 <!ENTITY attr-buildsize "3 MB">
12 <!ENTITY attr-time "0.1 SBU">
13]>
14
15<sect1 id="attr" xreflabel="attr-&attr-version;">
16 <?dbhtml filename="attr.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>attr-&attr-version;</title>
24
25 <indexterm zone="attr">
26 <primary sortas="a-attr">attr</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to attr</title>
31
32 <para>The <application>attr</application> package contains utilities to
33 administer the extended attributes on filesystem objects.</para>
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>Download (HTTP): <ulink url="&attr-download-http;"/></para>
39 </listitem>
40 <listitem>
41 <para>Download (FTP): <ulink url="&attr-download-ftp;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download MD5 sum: &attr-md5sum;</para>
45 </listitem>
46 <listitem>
47 <para>Download size: &attr-size;</para>
48 </listitem>
49 <listitem>
50 <para>Estimated disk space required: &attr-buildsize;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated build time: &attr-time;</para>
54 </listitem>
55 </itemizedlist>
56
57 <para condition="html" role="usernotes">User Notes:
58 <ulink url="&blfs-wiki;/attr"/></para>
59
60 </sect2>
61
62 <sect2 role="installation">
63 <title>Installation of attr</title>
64
65 <para>Install <application>attr</application> by running the following
66 commands:</para>
67
68<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
69make</userinput></screen>
70
71 <para>There are three sets of tests that come with this package. Issue the
72 following to execute all three:
73 <command>make tests root-tests ext-tests</command>. For meaningful results,
74 the tests need to be carried out on a file system that supports extended
75 attributes. Some failures will occur due to a missing script called
76 sort-getfattr-output which is not part fo the tarball.</para>
77
78 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
79
80<screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
81mv /usr/share/doc/attr /usr/share/doc/attr-&attr-version;</userinput></screen>
82
83 </sect2>
84
85 <sect2 role="configuration">
86 <title>Configuring attr</title>
87 <sect3><title>Configuration Information</title>
88
89 <para>There is no configuration to <application>attr</application> itself,
90 but to get any use out of <application>attr</application>, a filesystem
91 needs to support extended attributes.</para>
92
93 <para>One way to achieve this is to add the user_xattr option to an ext3
94 filesystem in the /etc/fstab file as shown below.</para>
95
96<screen># file system mount-point type options dump fsck
97# order
98
99/dev/sda1 / ext3 defaults,acl,user_xattr 0 2</screen>
100
101 </sect3>
102
103 </sect2>
104
105 <sect2 role="content">
106 <title>Contents</title>
107
108 <segmentedlist>
109 <segtitle>Installed Programs</segtitle>
110 <segtitle>Installed Library</segtitle>
111 <segtitle>Installed Directories</segtitle>
112
113 <seglistitem>
114 <seg>attr, getfattr, and setfattr</seg>
115 <seg>libattr.{so,a}</seg>
116 <seg>/usr/{include/attr,share/doc/attr-&attr-version;}</seg>
117 </seglistitem>
118 </segmentedlist>
119
120 <variablelist>
121 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
122 <?dbfo list-presentation="list"?>
123 <?dbhtml list-presentation="table"?>
124
125 <varlistentry id="attr-prog">
126 <term><command>attr</command></term>
127 <listitem>
128 <para>extends attributes on filesystem objects.</para>
129 <indexterm zone="attr attr">
130 <primary sortas="b-attr">attr</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="getfattr">
136 <term><command>getfattr</command></term>
137 <listitem>
138 <para>gets the extended attributes of filesystem objects.</para>
139 <indexterm zone="attr getfattr">
140 <primary sortas="b-getfattr">getfattr</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="setfattr">
146 <term><command>setfattr</command></term>
147 <listitem>
148 <para>sets the extended attributes of filesystem objects.</para>
149 <indexterm zone="attr setfattr">
150 <primary sortas="b-setfattr">setfattr</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="libattr">
156 <term><filename class='libraryfile'>libattr.{so,a}</filename></term>
157 <listitem>
158 <para>contains the <application>attr</application> API functions.</para>
159 <indexterm zone="attr libattr">
160 <primary sortas="c-libattr">libattr.{so,a}</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 </variablelist>
166
167 </sect2>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.