Co robi FSCK użycie. Konsola and repair unmounted filesystems. If a filesystem is consistent, the.

Czy przydatne?

Polecenie fsck

Wykonanie, użycie: System administration command. Call the filesystem checker for the appropriate system type to check and repair unmounted filesystems. If a filesystem is consistent, the number of files, number of blocks used, and number of blocks free are reported. If a filesystem is inconsistent, fsck prompts before each correction is attempted. fsck's exit code can be interpreted as the sum of all conditions that apply:


Errors were found and corrected.


Reboot suggested.


Errors were found but not corrected.


fsck encountered an operational error.


fsck was called incorrectly.


A shared library error was detected

Opcje wykonania fsck w konsoli


Pass all subsequent options to filesystem-specific checker. All options that fsck doesn't recognize will also be passed.


Serial mode. Check one filesystem at a time.

-t fstype

Specify the filesystem type. Do not check filesystems of any other type.


Check all filesystems listed in /etc/fstab. The root filesystem is checked first.


Display completion (progress) bar.


Suppress normal execution; just display what would be done.


Meaningful only with -A: check root filesystem in parallel with other systems. This option is potentially dangerous.


Meaningful only with -A: check all filesystems listed in /etc/fstab except the root filesystem.


Suppress printing of title.


Verbose mode.

Przykłady fsck działanie w Słownik polecenie F

Przykład FSCK użycie :
Jak użyć and from remote network site hostname . ftp prompts the user for a command. The commands are listed after the options. Some of the commands are toggles, meaning they turn on a feature when it is off co znaczy.
Przykład FSCK użycie :
Jak użyć command for finding particular groups of files (numerous examples follow this description). find descends the directory tree beginning at each pathname and locates files that meet the specified krzyżówka.
Przykład FSCK użycie :
Jak użyć Display statistics about memory usage: total free, used, physical, swap, shared, and buffers used by the kernel co to jest.
Przykład FSCK użycie :
Jak użyć input into mailbox format. Useful for splitting mail digests or passing the contents of a mail file to another program, such as a spam filter, for additional processing. If no sender is apparent słownik.
Przykład FSCK użycie :
Jak użyć display the prime factors of number n . If n is not specified, numbers are read from stdin, separated by commas, spaces, or tabs. This may take a very long time for numbers that are the product of czym jest.