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.

관련 정보