6.27. Attr-2.4.41-1

The Attr package contains utilities for extended filesystem attributes.

User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/attr

6.27.1. Installation of Attr

Prepare Attr for compilation:

./configure --prefix=/usr --bindir=/bin --enable-shared

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

Install the libraries:

install -v -m0755 libattr/.libs/libattr.so.1.1.0 /lib
ln -vsf libattr.so.1.1.0 /lib/libattr.so.1
ln -vsf libattr.so.1.1.0 /lib/libattr.so

Install the header file:

install -v -d /usr/include/attr
install -v -m0644 ./include/xattr.h /usr/include/attr/

Install the manual pages:

install -v -m0644 man/man1/{attr,getfattr,setfattr}.1 /usr/share/man/man1
install -v -m0644 man/man5/attr.5 /usr/share/man/man5

6.27.2. Contents of Attr

Installed program: attr, getfattr, setfattr

Short Descriptions

attr

utility for filesystem extended attributes

getfattr

utility to display filesystem extended attributes

setfattr

utility to set filesystem extended attributes