fstab이 0 0으로 끝나면 fsck가 전혀 없을까요?

fstab이 0 0으로 끝나면 fsck가 전혀 없을까요?

SLES12 시스템의 /etc/fstab에서 이를 볼 수 있는 경우:

/dev/vg/lvtmp   /tmp                 xfs       defaults,nodev,nosuid 0 0

이것은 "/tmp"가 결코 fsck'되지 않는다는 것을 의미합니까?

답변1

에서 언급했듯이fstab(5)매뉴얼 페이지

The sixth field (fs_passno).
          This field is used by fsck(8) to determine the order in which
          filesystem checks are done at boot time.  The root filesystem
          should be specified with a fs_passno of 1.  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.  Defaults to zero (don't fsck) if
          not present.

fs_passnofsck이는 재부팅 시 파일 시스템 검사가 수행되는 순서를 결정하기 위해 프로그램에서 사용됩니다 . 즉, 여섯 번째 필드가 존재하지 않거나 0인 경우 0 값이 반환되며 fsck파일 시스템 검사가 필요하지 않은 것으로 간주됩니다.

관련 정보