%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-ch6-sbu;</seg> <seg>&attr-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>安装Attr Modify the documentation directory so that it is a versioned directory: sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in Prevent installation of manual pages that were already installed by the package: sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile Fix a problem in the test procedures caused by changes in perl-5.26: sed -i 's:{(:\\{(:' test/run 准备安装 Attr: ./configure --prefix=/usr \ --bindir=/bin \ --disable-static ./configure --prefix=/usr \ --disable-static 编译该软件包: make The tests need to be run on a filesystem that supports extended attributes such as the ext2, ext3, or ext4 filesystems. The tests are also known to fail if running multiple simultaneous tests (-j option greater than 1). 运行下列命令以测试编译结果: make -j1 tests root-tests 安装该软件包: make install install-dev install-lib chmod -v 755 /usr/lib/libattr.so 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 Attr 的内容 安装的程序 安装的库 安装的目录 attr, getfattr, and setattr libattr.so /usr/include/attr and /usr/share/doc/attr-&attr-version; 简要描述 attr Extends attributes on filesystem objects attr getfattr Gets the extended attributes of filesystem objects getfattr setattr Sets the extended attributes of filesystem objects setattr libattr Contains the libbrary functions for manipulating extended attributes libattr