diff options
author | Hyunchul Lee <hyc.lee@gmail.com> | 2022-09-14 16:45:10 +0900 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-09-14 22:16:57 +0900 |
commit | 5c14e2044b72eb19e60cfec0fd9064626917f3ca (patch) | |
tree | f483472a69dec69a3af3d87402ad9a9a9ec5cef0 | |
parent | 13faa669612d575325ca568ebdf9cd6a0293f0b8 (diff) | |
download | exfatprogs-5c14e2044b72eb19e60cfec0fd9064626917f3ca.tar.gz |
exfatprogs: add usage examples to README.md
Add usage examples for fsck.exfat and exfat2img
to README.md
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -53,7 +53,10 @@ Usage example: Usage example: 1. check the consistency. fsck.exfat /dev/sda1 - 2. repair and fix.(preparing) + 2. repair a corrupted device and create files in /LOST+FOUND, which have clusters allocated but not belonged to any files when reparing the device. + fsck.exfat -p -s /dev/sda1 + 3. repair a corrupted device in the same way above, but answering yes to all questions. + fsck.exfat -y -s /dev/sda1 - tune.exfat: Adjust tunable filesystem parameters on an exFAT filesystem @@ -87,6 +90,16 @@ Usage example: Usage example: dump.exfat /dev/sda1 +- exfat2img: + Dump metadata of an exFAT filesystem + +Usage example: + 1. Dump metadata into a sparse file + exfat2img -o sda1.dump /dev/sda1 + 2. Dump metadata into standard out and restore a partition + exfat2img -o - /dev/sda1 | bzip2 > sda1.dump.bz2 + bzip2 -dc sda1.dump.bz2 | exfat2img -o /dev/sdb1 - + ``` ## Benchmarks |