-2

I just wanted to know the values of last two column in /etc/fstab redhat linux. I used to give as 1 2 or 0 0 sometime but not sure the real meaning of it. Can anyone explain please.

1

Copy out of 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.