# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy 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: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:14 #, no-wrap msgid "&findutils-url;" msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:12 msgid "" "findutils " "&findutils-version; " msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:17 msgid "Findutils-&findutils-version;" msgstr "" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:20 msgid "Findutils" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:26 msgid "" "The Findutils package contains programs to find files. These programs are " "provided to recursively search through a directory tree and to create, " "maintain, and search a database (often faster than the recursive find, but " "is unreliable if the database has not been recently updated)." msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:32 msgid "&buildtime;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:33 msgid "&diskspace;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:36 msgid "&findutils-fin-sbu;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:37 msgid "&findutils-fin-du;" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:44 msgid "Installation of Findutils" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:46 msgid "Prepare Findutils for compilation:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:48 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr " "--localstatedir=/var/lib/locate</userinput>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:51 msgid "The meaning of the configure options:" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:54 msgid "<parameter>--localstatedir</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:56 msgid "" "This option changes the location of the <command>locate</command> database " "to be in <filename class=\"directory\">/var/lib/locate</filename>, which is " "FHS-compliant." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:64 msgid "Compile the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:66 #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:68 msgid "To test the results, issue:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:70 #, no-wrap msgid "" "<userinput remap=\"test\">chown -Rv tester .\n" "su tester -c \"PATH=$PATH make check\"</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:73 msgid "Install the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:75 #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:77 msgid "" "Some of the scripts in the LFS-Bootscripts package depend on " "<command>find</command>. As <filename class=\"directory\">/usr</filename> " "may not be available during the early stages of booting, this program needs " "to be on the root partition. The <command>updatedb</command> script also " "needs to be modified to correct an explicit path:" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:84 msgid "" "Some packages in BLFS and beyond expect the <command>find</command> program " "in <filename class=\"directory\">/bin</filename>, so make sure it's placed " "there:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:88 #, no-wrap msgid "" "<userinput remap=\"install\">mv -v /usr/bin/find /bin\n" "sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb</userinput>" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:94 msgid "Contents of Findutils" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:97 msgid "Installed programs" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:98 msgid "Installed directory" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:101 msgid "find, locate, updatedb, and xargs" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:102 msgid "/var/lib/locate" msgstr "" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:108 msgid "Short Descriptions" msgstr "" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:109 msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:113 msgid "<command>find</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:115 msgid "Searches given directory trees for files matching the specified criteria" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:118 msgid "find" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:124 msgid "<command>locate</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:126 msgid "" "Searches through a database of file names and reports the names that contain " "a given string or match a given pattern" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:129 msgid "locate" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:135 msgid "<command>updatedb</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:137 msgid "" "Updates the <command>locate</command> database; it scans the entire file " "system (including other file systems that are currently mounted, unless told " "not to) and puts every file name it finds into the database" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:142 msgid "updatedb" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:148 msgid "<command>xargs</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:150 msgid "Can be used to apply a given command to a list of files" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:152 msgid "xargs" msgstr ""