<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 6, 2023 at 1:54 PM Jose Luis Alarcon Sanchez <<a href="mailto:jlalarcon@planetmail.net">jlalarcon@planetmail.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On dic. 6 2023, at 7:06 pm, Jerry Geis <<a href="mailto:jerry.geis@gmail.com" target="_blank">jerry.geis@gmail.com</a>> wrote:<br>
<br>
> How do I enable "auto fix" no matter what on ext4 ?<br>
> Then how do I simulate that ?<br>
>  <br>
>  <br>
> I just tried doing on 22.04:<br>
> touch  /forcefsck<br>
> shutdown -r now <br>
>  <br>
> I did not see any file system check,<br>
> when I log back in the file is still present.<br>
>  <br>
> When power goes out on my remote computer - I want it to come back up<br>
> no matter what.<br>
>  <br>
> Thanks,<br>
>  <br>
> Jerry<br>
>  <br>
<br>
Hi Jerry.<br>
<br>
Isn´t with a dot in the instruction?. something like:<br>
touch  /.forcefsck<br>
<br>
Try it. Nothing to loose.<br>
<br>
Regards.<br>
Jose Luis.<br>
<br>
--<br>
<a href="https://lordofunix.org/" rel="noreferrer" target="_blank">https://lordofunix.org/</a>  <br>
<br>
Not Registered GNU/Hurd User.<br>
Registered BSD User 51101.<br>
Registered Linux User #213309.<br>
Memories..... You are talking about memories.<br>
Rick Deckard. Blade Runner.<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></blockquote><div><br></div><div>Seems I had a typo on such a simple command. :)</div><div>I created /forcefsck   (not /forcefsk)</div><div>I rebooted and the file is gone. OK.</div><div><br></div><div>How then to just go ahead "fix" any issue. This is on a remote computer - and just need it to "fix" and boot.</div><div>I did find /fsckoptions  and I could put a -y in there - but how do I "simulate" a file system issue - so the fix will happen ?</div><div><br></div><div>Thanks</div><div><br></div><div>Jerry </div></div></div>