Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: noauto doesn't help skip fsck at boot time?



Hi,

On Fri, May 20, 2022 at 09:22:16PM +0530, Mayuresh wrote:
> Tried adding 'noauto' in fstab for these disks, but fsck still seems to
> run on these disks. Commenting the fstab entries of these usb disks is the
> only way to get it to boot.
> 
> Isn't noauto supposed to skip fsck altogether. If not is there any other
> flag for the same?

See "man fstab":

     The sixth field, (fs_passno), is used by the fsck(8) program to determine
     the order in which file system checks are done at reboot time.
     [...]
     If the sixth field is not present or zero, a value of zero is returned
     and fsck(8) will assume that the file system does not need to be checked.


The fsck(8) manpage also mentions passno:

     Only partitions in fstab that are mounted ``rw,'' ``rq'' or
     ``ro'' and that have non-zero pass number are checked.


cheers,
  Harold


Home | Main Index | Thread Index | Old Index