Summary: | Operation details do not show the full command | ||
---|---|---|---|
Product: | [Applications] partitionmanager | Reporter: | federico |
Component: | general | Assignee: | Andrius Štikonas <andrius> |
Status: | REPORTED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 24.12.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
federico
2025-03-31 15:02:43 UTC
Well, KDE Partition Manager does not run echo ',' | sfdisk --force --append /dev/sdc" since that's not a Linux command you can execute. Pipes like this are just bash syntax. Partition Manager does not run bash at all and it indeed simply runs sfdisk --force --append /dev/sdc" and then writes to it's stdin. I think there is a bit more info on the terminal if you launch with KPMCORE_DEBUG=1 partitionmanager. If I recall correctly, it will show what data is written to the process. > KDE Partition Manager does not run echo ',' | sfdisk --force --append /dev/sdc" since that's not a Linux command you can execute. I did not write that partition manager uses "echo ',' | sfdisk --force --append /dev/sdc", but that it was my workaround. > it indeed simply runs sfdisk --force --append /dev/sdc" and then writes to it's stdin. But that can't be right, at least, does not seem to be right, for the following two reasons: 1) If I create multiple partitions, in the details I see "sfdisk --force --append /dev/sdc", with no sizes or percentages on how much space they should take. 2) executing "sfdisk --force --append /dev/sdc" does not change the state on the disk Opps, sorry, missed the part "and then writes to it's stdin" It would be then great if it would be possible to see what's written in the details... |