summaryrefslogtreecommitdiffstats
path: root/manpages/exfat2img.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/exfat2img.8
parentInitial commit. (diff)
downloadexfatprogs-upstream/1.2.0.tar.xz
exfatprogs-upstream/1.2.0.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/exfat2img.8')
-rw-r--r--manpages/exfat2img.836
1 files changed, 36 insertions, 0 deletions
diff --git a/manpages/exfat2img.8 b/manpages/exfat2img.8
new file mode 100644
index 0000000..bceaa08
--- /dev/null
+++ b/manpages/exfat2img.8
@@ -0,0 +1,36 @@
+.TH exfat2img 8
+.SH NAME
+exfat2img \- dump metadata of an exFAT filesystem
+.SH SYNOPSIS
+.B exfat2img
+[
+.B \-o \fIpath\fB\
+] [
+.B \-V
+]
+.I device
+.br
+.B exfat2img \-V
+.SH DESCRIPTION
+.B exfat2img
+dump metadata of exFAT filesystems for debugging. \fBexfat2img\fP dump boot sector, File Allcation Table, Bitmap and all metadata which can reach from root directory.
+
+.SH OPTIONS
+.TP
+.BI \-o\ \-\-output
+Specify output result file. If filesystem to which output file is written does not support sparse file, you should use '-' in place of \fIpath\fP.
+Because a dump image generated from stdout has a special format, when restoring a partition from it, exfat2img should be used. See Examples.
+.TP
+.B \-V
+Prints the version number and exits.
+
+.SH EXAMPLES
+.PP
+Dump metadata into a sparse file.
+.EX
+.RB "$" " exfat2img -o sda1.dump /dev/sda1
+
+Dump metadata into standard out and restore a partition
+.EX
+.RB "$" " exfat2img -o - /dev/sda1 | bzip2 > sda1.dump.bz2"
+.RB "$" " bzip2 -dc sda1.dump.bz2 | exfat2img -o /dev/sdb1 -"