https://bugs.kde.org/show_bug.cgi?id=502243
Bug ID: 502243 Summary: Operation details do not show the full command Classification: Applications Product: partitionmanager Version: 24.12.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: andr...@stikonas.eu Reporter: feder...@kircheis.it Target Milestone: --- SUMMARY When doing an operation, it is possible to show additional details. KDE Partition manager will also show the command one can use on the command line; for example (only commands copied out from the details) ---- wipefs --all /dev/sdc1 sfdisk --force --delete /dev/sdc 1 sfdisk --force --append /dev/sdc mkfs.fat -F32 -I -v /dev/sdc1 sfdisk --part-type /dev/sdc 1 c fatlabel /dev/sdc1 label fsck.fat -a -w -v /dev/sdc1 umount /dev/sdc1 ---- STEPS TO REPRODUCE 1. Select drive 2. delete partitions 3. create new fat32 partition 4. apply operations 5. Click on "Details" OBSERVED RESULT The detail windows does not show always show the correct command EXPECTED RESULT I would expect that typing the shown commands would lead to the same outcome. Instead typing (for example) "sfdisk --force --append /dev/sdc" starts "sfdisk" in interactive mode. If one tries to start it in non-interactive mode, for example with ": | sfdisk --force --append /dev/sdc", then no changes are made to the disk, and the subsequent command fails. In this case (one partition on one drive), the "workaround is to use "echo ',' | sfdisk --force --append /dev/sdc", but for more complex setups (multiple partitions), it would be better if the details match what one has to actually type. SOFTWARE/OS VERSIONS Output of kinfo: Operating System: Debian GNU/Linux 12 KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.12.19-amd64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz Memory: 33.4 GB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.