fsck -f weiterleiten

Du hast Probleme mit Deinem eMail-Programm, Webbrowser oder Textprogramm? Dein Lieblingsprogramm streikt?
Antworten
Benutzeravatar
Strunz_1975
Beiträge: 2464
Registriert: 13.04.2007 14:29:32
Lizenz eigener Beiträge: MIT Lizenz
Kontaktdaten:

fsck -f weiterleiten

Beitrag von Strunz_1975 » 29.07.2018 14:41:34

Hallo,

bei mir ist mein Filesytem kaputt, ich möchte es mit folgendem Befehl (fsck -f /dev/mapper-Fuckup/home)
reparieren!
Wenn ich es so in der Konsole eingeben muss ich es jedesmal mit den Tasten "ja" bestätigen!
Wie kann ich es einmal eingeben und es wird automatisch bestätigt?

Mfg
Strunz_1975
Debian Bookworm

DeletedUserReAsG

Re: fsck -f weiterleiten

Beitrag von DeletedUserReAsG » 29.07.2018 15:14:24

man fsck.ext4 hat geschrieben:

Code: Alles auswählen

[…]
-p     Automatically repair ("preen") the file system.  This option will cause e2fsck to automatically fix any filesystem problems that can be safely fixed without human  inter‐
              vention.   If  e2fsck  discovers a problem which may require the system administrator to take additional corrective action, e2fsck will print a description of the problem
              and then exit with the value 4 logically or'ed into the exit code.  (See the EXIT CODE section.)  This option is normally used by the system's boot scripts.  It  may  not
              be specified at the same time as the -n or -y options.

[…]
       -y     Assume an answer of `yes' to all questions; allows e2fsck to be used non-interactively.  This option may not be specified at the same time as the -n or -p options.
[…]

Antworten