我只是想知道 /etc/fstab redhat linux 中最后两列的值。我有时会给出 1 2 或 0 0 但不确定它的真正含义。谁能解释一下。
答案1
复制出man fstab
The fifth field (fs_freq).
This field is used by dump(8) to determine which filesystems need to be dumped. Defaults to zero
(don't dump) if not present.
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 dif‐
ferent drives will be checked at the same time to utilize parallelism available in the hardware.
Defaults to zero (don't fsck) if not present.