msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-06-17 12:44+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 2.2.5\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:14 #, no-wrap msgid "&attr-url;" msgstr "&attr-url;" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:12 msgid "" "attr &attr-version; " msgstr "" "attr &attr-version; " #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:17 msgid "Attr-&attr-version;" msgstr "Attr-&attr-version;" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:20 msgid "Attr" msgstr "Attr" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:26 msgid "" "The attr package contains utilities to administer the extended attributes on " "filesystem objects." msgstr "Attr 软件包包含管理文件系统对象扩展属性的工具。" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:30 msgid "&buildtime;" msgstr "&buildtime;" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:31 msgid "&diskspace;" msgstr "&diskspace;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:34 msgid "&attr-fin-sbu;" msgstr "&attr-fin-sbu;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:35 msgid "&attr-fin-du;" msgstr "&attr-fin-du;" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:42 msgid "Installation of Attr" msgstr "安装 Attr" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:44 msgid "Prepare Attr for compilation:" msgstr "准备编译 Attr:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:46 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --bindir=/bin \\\n" " --disable-static \\\n" " --sysconfdir=/etc \\\n" " --docdir=/usr/share/doc/attr-&attr-version;</userinput>" msgstr "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --bindir=/bin \\\n" " --disable-static \\\n" " --sysconfdir=/etc \\\n" " --docdir=/usr/share/doc/attr-&attr-version;</userinput>" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:52 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --disable-static \\\n" " --sysconfdir=/etc \\\n" " --docdir=/usr/share/doc/attr-&attr-version;</userinput>" msgstr "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --disable-static \\\n" " --sysconfdir=/etc \\\n" " --docdir=/usr/share/doc/attr-&attr-version;</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:57 msgid "Compile the package:" msgstr "编译该软件包:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:59 #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "<userinput remap=\"make\">make</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:61 msgid "" "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:" msgstr "" "测试套件必须在支持扩展属性的文件系统,如 ext2、ext3 或 ext4 上运行。运行下列" "命令以测试编译结果:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:65 #, no-wrap msgid "<userinput remap=\"test\">make check</userinput>" msgstr "<userinput remap=\"test\">make check</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:67 msgid "Install the package:" msgstr "安装该软件包:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:69 #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "<userinput remap=\"install\">make install</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:71 msgid "" "The shared library needs to be moved to <filename class=\"directory\">/lib</" "filename>, and as a result the <filename class=\"extension\">.so</filename> " "file in <filename class=\"directory\">/usr/lib</filename> will need to be " "recreated:" msgstr "" "需要将共享库移动到 <filename class=\"directory\">/lib</filename> 目录,因此 " "<filename class=\"directory\">/usr/lib</filename> 中的 <filename class=" "\"extension\">.so</filename> 符号链接也需要重新建立:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:76 #, no-wrap msgid "" "<userinput remap=\"install\">mv -v /usr/lib/libattr.so.* /lib\n" "ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput>" msgstr "" "<userinput remap=\"install\">mv -v /usr/lib/libattr.so.* /lib\n" "ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput>" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:82 msgid "Contents of Attr" msgstr "Attr 的内容" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:85 msgid "Installed programs" msgstr "安装的程序" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:86 msgid "Installed library" msgstr "安装的库" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:87 msgid "Installed directories" msgstr "安装的目录" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:90 msgid "attr, getfattr, and setfattr" msgstr "attr, getfattr, 以及 setfattr" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:91 msgid "libattr.so" msgstr "libattr.so" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:92 msgid "/usr/include/attr and /usr/share/doc/attr-&attr-version;" msgstr "/usr/include/attr 和 /usr/share/doc/attr-&attr-version;" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:97 msgid "Short Descriptions" msgstr "简要描述" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:98 msgid "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:102 msgid "<command>attr</command>" msgstr "<command>attr</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:104 msgid "Extends attributes on filesystem objects" msgstr "在文件系统对象上扩展属性" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:106 msgid "attr" msgstr "attr" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:112 msgid "<command>getfattr</command>" msgstr "<command>getfattr</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:114 msgid "Gets the extended attributes of filesystem objects" msgstr "查询文件系统对象的扩展属性" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:116 msgid "getfattr" msgstr "getfattr" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:122 msgid "<command>setfattr</command>" msgstr "<command>setfattr</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:124 msgid "Sets the extended attributes of filesystem objects" msgstr "设定文件系统对象的扩展属性" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:126 msgid "setfattr" msgstr "setfattr" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:132 msgid "<filename class=\"libraryfile\">libattr</filename>" msgstr "<filename class=\"libraryfile\">libattr</filename>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:134 msgid "Contains the library functions for manipulating extended attributes" msgstr "包含处理扩展属性的库函数" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/attr.xml:136 msgid "libattr" msgstr "libattr"