| Summary: | Incorrect command when running a check on an exFAT partition | ||
|---|---|---|---|
| Product: | [Applications] partitionmanager | Reporter: | Jecho Jekov <jechojekov> |
| Component: | general | Assignee: | Andrius Štikonas <andrius> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | minor | ||
| Priority: | NOR | ||
| Version First Reported In: | 24.02.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
You need to use exfatprogs as is specified in fs support dialog. You probably installed exfat-utils.
Usage: fsck.exfat
-r | --repair Repair interactively
-y | --repair-yes Repair without ask
-n | --repair-no No repair
-p | --repair-auto Repair automatically
-a Repair automatically
-b | --ignore-bad-fs Try to recover even if exfat is not found
-s | --rescue Assign orphaned clusters to files
-V | --version Show version
-v | --verbose Print debug
-h | --help Show help
Thank you for the quick reply.
> You probably installed exfat-utils.
This is correct. I installed exfatprogs instead and it works. I apologize for filing this bug!
Thank you!!!
|
SUMMARY Running a check on an exFAT file system fails with an error. STEPS TO REPRODUCE 1. Run a check on an exFAT partition OBSERVED RESULT Command: fsck.exfat --repair-yes --verbose /dev/sdb4 Check file system on partition ‘/dev/sdb4’: Error Check and repair partition ‘/dev/sdb4’ (94.09 GiB, exfat): Error EXPECTED RESULT Successful execution. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: openSUSE Tumbleweed 20240321 (available in About System) KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION The version of `fsck.exfat` is: ``` exfatfsck 1.4.0 Copyright (C) 2011-2023 Andrew Nayenko ``` The parameters passed by the partition manager to `fsck.exfat` are incorrect. The parameters supported by the command are: `fsck.exfat [ -a | -n | -p | -y ] device` ``` -a Automatically repair the file system. No user intervention required. -n No‐operation mode: non‐interactively check for errors, but don’t write anything to the file system. -p Same as -a for compatibility with other *fsck. -V Print version and copyright. -y Same as -a for compatibility with other *fsck. ``` Based on these parameters the correct command line executed by the partition manager should be: `fsck.exfat -a /dev/sdb4`