Umm,
the -f option has been around for awhile to .......
Your -y just tells fsck to automagically fix errors it finds.
The -f is more of a brute-force (forgive my lack of better description) method of getting fsck to complete it's task....
From man fsck:
QUOTE
-y For some filesystem-specific checkers, the -y option will cause the fs-specific fsck to always attempt to fix any detected filesystem cor‐
ruption automatically. Sometimes an expert may be able to do better driving the fsck manually. Note that not all filesystem-specific
checkers implement this option. In particular fsck.minix(8) and fsck.cramfs(8) does not support the -y option as of this writing.
And yet another....
QUOTE
command syntax:
fsck [ -F fstype] [-V] [-yY] [-o options] special
-F fstype type of file system to be repaired ( ufs , vxfs etc)
-V verify the command line syntax but do not run the command
-y or -Y Run the command in non interactive mode - repair all errors encountered without waiting for user response.
-o options Three options can be specified with -o flag
b=n where n is the number of next super block if primary super block is corrupted in a file system .
p option used to make safe repair options during the booting process.
f force the file system check regardless of its clean flag.
Take care, all.
Chris