%general-entities; ]> attr &attr-version;
&attr-url;
Attr-&attr-version; Attr <para>The attr package contains utilities to administer the extended attributes on filesystem objects.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&attr-fin-sbu;</seg> <seg>&attr-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Attr Prepare Attr for compilation: ./configure --prefix=/usr \ --bindir=/bin \ --disable-static \ --sysconfdir=/etc \ --docdir=/usr/share/doc/attr-&attr-version; ./configure --prefix=/usr \ --disable-static \ --sysconfdir=/etc \ --docdir=/usr/share/doc/attr-&attr-version; Compile the package: make The tests need to be run on a filesystem that supports extended attributes such as the ext2, ext3, or ext4 filesystems. To test the results, issue: make check Install the package: make install The shared library needs to be moved to /lib, and as a result the .so file in /usr/lib will need to be recreated: mv -v /usr/lib/libattr.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so Installation of Attr - 32bit Clean previous build: make distclean Prepare Xz for compilation: CC="gcc -m32" ./configure \ --prefix=/usr \ --disable-static \ --libdir=&usr-lib-m32; \ --host=i686-pc-linux-gnu Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32; rm -rf DESTDIR Installation of Attr - x32bit Clean previous build: make distclean Prepare Xz for compilation: CC="gcc -mx32" ./configure \ --prefix=/usr \ --disable-static \ --libdir=&usr-lib-mx32; \ --host=x86_64-pc-linux-gnux32 Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32; rm -rf DESTDIR Contents of Attr Installed programs Installed library Installed directories attr, getfattr, and setfattr libattr.so /usr/include/attr and /usr/share/doc/attr-&attr-version; Short Descriptions attr Extends attributes on filesystem objects attr getfattr Gets the extended attributes of filesystem objects getfattr setfattr Sets the extended attributes of filesystem objects setfattr libattr Contains the library functions for manipulating extended attributes libattr