| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 | # SOME DESCRIPTIVE TITLE# Copyright (C) YEAR Free Software Foundation, Inc.# This file is distributed under the same license as the PACKAGE package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""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 <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: \n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. type: Content of: <sect1><sect1info><address>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:14#, no-wrapmsgid "&findutils-url;"msgstr ""#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:12msgid """<productname>findutils</productname> ""<productnumber>&findutils-version;</productnumber> <placeholder ""type=\"address\" id=\"0\"/>"msgstr ""#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:17msgid "Findutils-&findutils-version;"msgstr ""#. type: Content of: <sect1><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:20msgid "Findutils"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:26msgid """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:32msgid "&buildtime;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:33msgid "&diskspace;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:36msgid "&findutils-fin-sbu;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:37msgid "&findutils-fin-du;"msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:44msgid "Installation of Findutils"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:46msgid "Prepare Findutils for compilation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:48#, no-wrapmsgid """<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:51msgid "The meaning of the configure options:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:54msgid "<parameter>--localstatedir</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:56msgid """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:64msgid "Compile the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:66#, no-wrapmsgid "<userinput remap=\"make\">make</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:68msgid "To test the results, issue:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:70#, no-wrapmsgid """<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:73msgid "Install the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:75#, no-wrapmsgid "<userinput remap=\"install\">make install</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:77msgid """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:84msgid """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-wrapmsgid """<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:94msgid "Contents of Findutils"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:97msgid "Installed programs"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:98msgid "Installed directory"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:101msgid "find, locate, updatedb, and xargs"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:102msgid "/var/lib/locate"msgstr ""#. type: Content of: <sect1><sect2><variablelist><bridgehead>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:108msgid "Short Descriptions"msgstr ""#. type: Content of: <sect1><sect2><variablelist>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:109msgid "<?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:113msgid "<command>find</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:115msgid "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:118msgid "find"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:124msgid "<command>locate</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:126msgid """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:129msgid "locate"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:135msgid "<command>updatedb</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:137msgid """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:142msgid "updatedb"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:148msgid "<command>xargs</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/findutils.xml:150msgid "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:152msgid "xargs"msgstr ""
 |