On 10/26/24 4:49 PM, ToddAndMargo via users wrote:
Followup question: is there a flag to throw that tells fsck
to "repair"?  I never found one in "man fsck".

That depends on what you mean. It will repair if not run in read-only mode. You can only do it if the filesystem isn't mounted. There's "-f" to make it check even if the filesystem isn't marked as needing checking, and there's "-y" to automatically say yes to all fixes.

As mentioned in the man page, "fsck" is only a frontend that runs the appropriate checker for the indicated filesystem. Those options I described are specifically for the "e2fsck" command.

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to