]> git.sven.stormbind.net Git - sven/exfatprogs.git/blob - manpages/fsck.exfat.8
Add CVE ID to debian changelog
[sven/exfatprogs.git] / manpages / fsck.exfat.8
1 .TH fsck.exfat 8
2 .SH NAME
3 fsck.exfat \- check an exFAT filesystem
4 .SH SYNOPSIS
5 .B fsck.exfat
6 [
7 .B \-a
8 ] [
9 .B \-n
10 ] [
11 .B \-r
12 ] [
13 .B \-v
14 ] [
15 .B \-y
16 ] [
17 .B \-b
18 ] [
19 .B \-v
20 ]
21 .I device
22 .br
23 .B fsck.exfat \-V
24 .SH DESCRIPTION
25 .B fsck.exfat
26 checks an exFAT filesystem and repairs the filesystem
27 depending on the options passed. The following corruptions can be repaired, and see the option, '-s'.
28 .IP -
29 Boot sector has invalid parameters. If backup boot sector is valid, replace the boot sector with it.
30 .IP -
31 Cluster is marked as free but belonged to a file, or vise versa. The bitmap for the cluster is marked properly.
32 .IP -
33 File size is abnormally large considering the count of clusters. The size is changed.
34 .IP -
35 File size is abnormally small considering the count of clusters. The remaining clusters are deleted.
36 .IP -
37 File's cluster chain has an invalid cluster number. The number are changed to EOF, and the file size is also changed.
38 .IP -
39 File's cluster chain contains a loop. The loop is broken.
40 .IP -
41 Files share the same cluster.  Cluster chains for files except one are broken.
42 .IP -
43 Start cluster number is invalid. The cluster number and file size are changed to 0.
44 .IP -
45 Checksum value of directory entry set is invalid. Directory entry set is deleted.
46 .IP -
47 Bad hash value of a file name. The hash value is changed properly.
48 .IP -
49 Fields of directory entry set have invalid values. Directory entry set is deleted.
50 .PP
51 .SH OPTIONS
52 .TP
53 .BI \-a
54 This  option  does  the same thing as the -p option.  It is provided for backwards compatibility only;  it  is  suggested  that people use -p option whenever possible.
55 .TP
56 .BI \-n
57 Check the filesystem but do not attempt to repair the filesystem.
58 .TP
59 .BI \-p
60 Repair the filesystem without user interaction if it can be done safely.
61 .TP
62 .BI \-r
63 Repair the filesystem interactively.
64 .TP
65 .BI \-s
66 Create files in /LOST+FOUND for orphan clusters. These files have clusters allocated but not belonged to any files when reparing the filesystem. clusters unused and contiguous in bitmap are allocated to the same file.
67 .TP
68 .BI \-v
69 Prints verbose debugging information while checking the exFAT filesystem.
70 .TP
71 .BI \-V
72 Prints the version number and exits.
73 .TP
74 .B \-y
75 Repair the filesystem answering yes to all questions.
76 .TP
77 .B \-b
78 Try to repair the filesystem even if the exFAT filesystem is not found.
79
80 .SH EXAMPLES
81 .PP
82 repair a corrupted device and create files in /LOST+FOUND, which have clusters allocated but not belonged to any files when reparing the device.
83 .EX
84 .RB "$" " fsck.exfat -p -s /dev/sda1"
85
86 .SH SEE ALSO
87 .BR fsck (8),
88 .BR fstab (5),