Package: e2fsprogs
Version: 1.43~WIP.2016.03.15-2
Severity: wishlist
File: /usr/share/man/man8/e2fsck.8.gz

We see:

       -p     Automatically repair ("preen") the  file  system.   This  option
              will  cause  e2fsck to automatically fix any filesystem problems
              that can be safely fixed without human intervention.  If  e2fsck
              discovers  a  problem which may require the system administrator
              to take  additional  corrective  action,  e2fsck  will  print  a
              description  of the problem and then exit with the value 4 logi-
              cally or'ed into the exit code.  (See the  EXIT  CODE  section.)
              This  option  is normally used by the system's boot scripts.  It
              may not be specified at the same time as the -n or -y options.

OK but also mention that some items will be also printed along with
"IGNORED" and exit value 0.

# fsck -C -V -f -a /cf
fsck from util-linux 2.28
[/sbin/fsck.ext4 (1) -- /mnt/usb/cf] fsck.ext4 -f -a -C0 /dev/sdc2
Inode 65395 extent tree (at level 1) could be shorter.  IGNORED.
/dev/sdc2: 914/128016 files (1.4% non-contiguous), 73617/512000 blocks

To fix them one must use e.g., -y.

If one does not fix them they will just be printed the next time.

Reply via email to