findコマンドの「初期化時間」とは何ですか?

findコマンドの「初期化時間」とは何ですか?

findコマンドのマニュアルページを参照しようとすると、次の問題が発生します。

-mmin n
        The value of n can be one of the following:
          n
               Evaluates as True if the file modification time subtracted from the initialization time, divided by 60 seconds (with any remainder discarded), is
               n.
          -n
               Evaluates as True if the file modification time subtracted from the initialization time, divided by 60 seconds (with any remainder discarded), is
               less than n.
          +n
               Evaluates as True if the file modification time subtracted from the initialization time, divided by 60 seconds (with any remainder discarded), is
               greater than n (in case of UNIX03, greater than n+1).
        Note: Files modified after the find command start time will not be taken into account. However, when the find command is used within the unary NOT
        operator for non-UNIX03 behavior, the files modified after the command start time will be displayed until the value of n.
   -mtime n
        The value of n can be one of the following:
          n
               Evaluates as True if the file modification time subtracted from the initialization time, divided by 86400 seconds (with any remainder discarded),
               is n. 86400 seconds is 24 hours.
          -n
               Evaluates as True if the file modification time subtracted from the initialization time, divided by 86400 seconds (with any remainder discarded),
               is less than n.
          +n
               Evaluates as True if the file modification time subtracted from the initialization time, divided by 86400 seconds (with any remainder discarded),

この初期化時間はいくらですか?今この find コマンドが呼び出される時点ですか?

ベストアンサー1

はい。 「初期化時間」は、findコマンドの開始後にファイルが処理されるまでの特定の時間である。これは、ファイルの巡回順序に依存する時間ベースの比較結果を回避するための一般的な時間ソースです。

「初期化時間」は、この文書で使用されている用語です。POSIX仕様FreeBSDそれを「時間がfind始まる」と呼んでください。 GNUとSolarisはそれらを文書化しませんが、時間源も使用します。

おすすめ記事