Article 5MTEG ext4 and "touch forcefsck"

ext4 and "touch forcefsck"

by
kevinbenko
from LinuxQuestions.org on (#5MTEG)
{{{I don't know if this question "belongs" in this thread, because it concerns filesystems, a command, and software... so if this thread is not the place it should be in.... tell me I am a {butt}hole and I will apologize}}}

Last night, I discovered why on a ext4 filesystem the command "touch /forcefsck" doesn't work as expected.

Yeah, I have been using the ext4 filesystem since around 2008.

I know the solution is to change/write

GRUB_CMDLINE_LINUX="fsck.mode=force"

in the file /etc/default/grub and do an "update-grub" {or update-grub2}

And it now works as expected..... BUT....

Suppose I don't want to force an fsck on all of my filesystems every time I reboot?

Yeah... I know I can do a CTRL-c and stop the process.

QUESTION:

Is there any other way to NOT force a fsck on all my filesystems every time I reboot OTHER than edit that file and do an update?

I would guess that the answer is "NO", but just asking just in case there might be a better solution.

Thank you for your time and have a great day!latest?d=yIl2AUoC8zA latest?i=eVO0-L7NSKc:RbWwpVQaLCQ:F7zBnMy latest?i=eVO0-L7NSKc:RbWwpVQaLCQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=eVO0-L7NSKc:RbWwpVQaLCQ:gIN9vFweVO0-L7NSKc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments