fstabのfsck部分は何ですか?

fstabのfsck部分は何ですか?

fsckユーティリティに関する基本的な知識がありますが、/ etc / fstabの "fsck"部分はどういう意味ですか?値は0、1、2です。この値は何ですか?

インターネット検索によると、0 - 未確認 1 - 起動時に確認済み 2 - 今何ですか?

答え1

fstab(5)マニュアルページから:

   The sixth field (fs_passno).
          This field is used by the fsck(8) program to determine the order
          in which filesystem checks are done at reboot  time.   The  root
          filesystem  should be specified with a fs_passno of 1, and other
          filesystems should have a fs_passno of 2.  Filesystems within  a
          drive will be checked sequentially, but filesystems on different
          drives will be checked at the same time to  utilize  parallelism
          available in the hardware.  If the sixth field is not present or
          zero, a value of zero is returned and fsck will assume that  the
          filesystem does not need to be checked.

関連情報