https://bugs.kde.org/show_bug.cgi?id=484611

            Bug ID: 484611
           Summary: Incorrect command when running a check on an exFAT
                    partition
    Classification: Applications
           Product: partitionmanager
           Version: 24.02.0
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: jechoje...@gmail.com
  Target Milestone: ---

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`

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to