English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux fsck.ext2Befehl

Linux Command大全

Linux fsck.ext2Befehl zum Überprüfen des Dateisystems und zum Beheben von Fehlern.

Wenn ext2Bei Fehlern im Dateisystem kann fsck.ext2Die Anweisung versucht, die Reparatur durchzuführen.

Syntax

fsck.ext2 [-acdfFnprsStvVy][-b <Erster Sektor der Partition>][-B <Blöckgröße>][-C <Umkehrer>][-I <Anzahl der inode-Pufferblöcke>][-l/L <Datei beschädigter Blöcke>][-P <Größe der inode-Verarbeitung>][Außengerätssymbol]

Parameter:

  • -a Reparatur des Dateisystems automatisch durchführen, ohne Fragen zu stellen.
  • -b<Erster Sektor der Partition> Bestimmen Sie die Startadresse des ersten Sektors der Partition, das ist der Superblock.
  • -B<Blöckgröße> Setzen Sie die Größe jedes Blocks der Partition.
  • -c Überprüfen Sie, ob im angegebenen Dateisystem beschädigte Blöcke vorhanden sind.
  • -C<反叙述器> Bestimmen Sie den Umkehrer, fsck.ext2Die Anweisung übergibt den gesamten Ausführungsprozess an seine umgekehrte Erzählung, um Fehlerbehebung oder Überwachung der Programmausführung zu erleichtern.
  • -Detaillierte Anzeige des Ausführungsprozesses der Anweisung, um Fehlerbehebung oder Analyse der Programmausführung zu erleichtern.
  • -f Force a complete check of the file system, even if the file system has no problems in the preliminary check.
  • -F Clean the data in the storage device block area before checking the file system.
  • -I<inode buffer block count> Set the number of block numbers in the inode buffer area of the file system to be checked.
  • -l<damaged block file> Treat the blocks listed in the file as damaged blocks and mark them to avoid the application from using the block.
  • -L<damaged block file> The effect of this parameter is similar to specifying"-l"parameters are similar, but before referring to the damaged block file indicators as damaged blocks, all previously marked as damaged blocks will be cleared, i.e., all reset, not just add new damaged block indicators.
  • -n Set the file system to be checked as read-only and close interactive mode, rejecting all questions asked.
  • -p The effect of this parameter is similar to specifying"-a"parameters are the same.
  • -P<inode size to handle> Set the block number of the inode buffer area of the file system to be checked.2The size of the inode that the command can handle.
  • -r This parameter will ignore and not process it, but is only responsible for solving compatibility issues.
  • -s When checking the file system, swap the content of each pair of bytes.
  • -S The effect of this parameter is similar to specifying"-s"parameters are similar, but regardless of whether the file system is already in standard byte order, the content of each pair of bytes is always swapped.
  • -t Display fsck.ext2Timing information of the command.
  • -v Display detailed command execution process.
  • -V Display version information.
  • -y Close interactive mode and agree to all questions asked.

Linux Command大全