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
fsck -f weiterleiten
- Strunz_1975
- Beiträge: 2464
- Registriert: 13.04.2007 14:29:32
- Lizenz eigener Beiträge: MIT Lizenz
-
Kontaktdaten:
fsck -f weiterleiten
Debian Bookworm
Re: fsck -f weiterleiten
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. […]