![fstab이 0 0으로 끝나면 fsck가 전혀 없을까요?](https://linux55.com/image/168592/fstab%EC%9D%B4%200%200%EC%9C%BC%EB%A1%9C%20%EB%81%9D%EB%82%98%EB%A9%B4%20fsck%EA%B0%80%20%EC%A0%84%ED%98%80%20%EC%97%86%EC%9D%84%EA%B9%8C%EC%9A%94%3F.png)
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_passno
fsck
이는 재부팅 시 파일 시스템 검사가 수행되는 순서를 결정하기 위해 프로그램에서 사용됩니다 . 즉, 여섯 번째 필드가 존재하지 않거나 0인 경우 0 값이 반환되며 fsck
파일 시스템 검사가 필요하지 않은 것으로 간주됩니다.