summaryrefslogtreecommitdiffstats
path: root/manpages/fsck.exfat.8
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:57 +0000
commit107a9fe33b588acf0db45f3944683a134634a454 (patch)
tree62e7a2928b706f9f34c2d5a4e1227888cfc537c5 /manpages/fsck.exfat.8
parentInitial commit. (diff)
downloadexfatprogs-upstream.tar.xz
exfatprogs-upstream.zip
Adding upstream version 1.2.0.upstream/1.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'manpages/fsck.exfat.8')
-rw-r--r--manpages/fsck.exfat.888
1 files changed, 88 insertions, 0 deletions
diff --git a/manpages/fsck.exfat.8 b/manpages/fsck.exfat.8
new file mode 100644
index 0000000..3b247d5
--- /dev/null
+++ b/manpages/fsck.exfat.8
@@ -0,0 +1,88 @@
+.TH fsck.exfat 8
+.SH NAME
+fsck.exfat \- check an exFAT filesystem
+.SH SYNOPSIS
+.B fsck.exfat
+[
+.B \-a
+] [
+.B \-n
+] [
+.B \-r
+] [
+.B \-v
+] [
+.B \-y
+] [
+.B \-b
+] [
+.B \-v
+]
+.I device
+.br
+.B fsck.exfat \-V
+.SH DESCRIPTION
+.B fsck.exfat
+checks an exFAT filesystem and repairs the filesystem
+depending on the options passed. The following corruptions can be repaired, and see the option, '-s'.
+.IP -
+Boot sector has invalid parameters. If backup boot sector is valid, replace the boot sector with it.
+.IP -
+Cluster is marked as free but belonged to a file, or vise versa. The bitmap for the cluster is marked properly.
+.IP -
+File size is abnormally large considering the count of clusters. The size is changed.
+.IP -
+File size is abnormally small considering the count of clusters. The remaining clusters are deleted.
+.IP -
+File's cluster chain has an invalid cluster number. The number are changed to EOF, and the file size is also changed.
+.IP -
+File's cluster chain contains a loop. The loop is broken.
+.IP -
+Files share the same cluster. Cluster chains for files except one are broken.
+.IP -
+Start cluster number is invalid. The cluster number and file size are changed to 0.
+.IP -
+Checksum value of direcotry entry set is invalid. Directory entry set is deleted.
+.IP -
+Bad hash value of a file name. The hash value is changed properly.
+.IP -
+Fields of directory entry set have invalid values. Directory entry set is deleted.
+.PP
+.SH OPTIONS
+.TP
+.BI \-a
+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.
+.TP
+.BI \-n
+Check the filesystem but do not attempt to repair the filesystem.
+.TP
+.BI \-p
+Repair the filesystem without user interaction if it can be done safely.
+.TP
+.BI \-r
+Repair the filesystem interactively.
+.TP
+.BI \-s
+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.
+.TP
+.BI \-v
+Prints verbose debugging information while checking the exFAT filesystem.
+.TP
+.BI \-V
+Prints the version number and exits.
+.TP
+.B \-y
+Repair the filesystem answering yes to all questions.
+.TP
+.B \-b
+Try to repair the filesystem even if the exFAT filesystem is not found.
+
+.SH EXAMPLES
+.PP
+repair a corrupted device and create files in /LOST+FOUND, which have clusters allocated but not belonged to any files when reparing the device.
+.EX
+.RB "$" " fsck.exfat -p -s /dev/sda1"
+
+.SH SEE ALSO
+.BR fsck (8),
+.BR fstab (5),