Testing ext4 and auto fix

Jon LaBadie ubu at labadie.us
Wed Dec 6 22:19:36 UTC 2023


On Wed, Dec 06, 2023 at 02:13:49PM -0500, Jerry Geis wrote:
>On Wed, Dec 6, 2023 at 1:54 PM Jose Luis Alarcon Sanchez <
>jlalarcon at planetmail.net> wrote:
>
>> On dic. 6 2023, at 7:06 pm, Jerry Geis <jerry.geis at gmail.com> wrote:
>>
>> > How do I enable "auto fix" no matter what on ext4 ?
>> > Then how do I simulate that ?
>> >
>> >
>> > I just tried doing on 22.04:
>> > touch  /forcefsck
>> > shutdown -r now

If your system is using the systemd service "systemd-fsckd"
the manpage lists two kernel command line options affecting
their behavior:

    fsck.mode={auto,force,skip}

    fsck.repair={preen,yes,no}

jl
-- 
Jon H. LaBadie                  ubu at labadie.us



More information about the ubuntu-users mailing list