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:

1

Errors were found and corrected.

2

Reboot suggested.

4

Errors were found but not corrected.

8

fsck encountered an operational error.

16

fsck was called incorrectly.

128

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.

-s

Serial mode. Check one filesystem at a time.

-t fstype

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

-A

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

-C

Display completion (progress) bar.

-N

Suppress normal execution; just display what would be done.

-P

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

-R

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

-T

Suppress printing of title.

-V

Verbose mode.

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

Przykład FSCK użycie :
Jak użyć files for lines that match the specified text string . Exit status is 0 if any lines match, 1 if not, and 2 for errors. fgrep is faster than normal grep searches, but less flexible: it can only find co znaczy.
Przykład FSCK użycie :
Jak użyć administration command. Retrieve mail from mail servers and forward it to the local mail delivery system. fetchmail retrieves mail from servers that support the common mail protocols POP2, POP3 krzyżówka.
Przykład FSCK użycie :
Jak użyć Classify the named files according to the type of data they contain. file checks the magic file (usually /usr/share/magic ) to identify some file types co to jest.
Przykład FSCK użycie :
Jak użyć outputs the process IDs of processes that are using the files or local filesystems . Each process ID is followed by a letter code: c if process is using file as the current directory; e if executable słownik.
Przykład FSCK użycie :
Jak użyć A null command that returns an unsuccessful (nonzero) exit status. Normally used in bash scripts. See also true czym jest.