Summary: | partitionmanager does not wipe old signatures when creating a new partition table | ||
---|---|---|---|
Product: | [Applications] partitionmanager | Reporter: | Michael Weghorn <m.weghorn> |
Component: | general | Assignee: | Andrius Štikonas <andrius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | m.weghorn |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | 813e574001eb5b9248c92d2c8c0174d5dd062a26 | Version Fixed In: | 21.04.0 |
Description
Michael Weghorn
2021-01-15 08:53:01 UTC
While sfdisk automatically wipes old signatures in interactive mode, it does not do so in non-interactive mode. When run in interactive mode, i.e. from a terminal, sfdisk shows this warning: $ sudo sfdisk /dev/sda [...] The device contains 'iso9660' signature and it will be removed by a write command. See sfdisk(8) man page and --wipe option for more details. [...] However, when explicitly disabling wiping (or running in non-interactive mode, as partitionmanager does), this warning is shown $ sudo sfdisk --wipe=never /dev/sda [....] The device contains 'iso9660' signature and it may remain on the device. It is recommended to wipe the device with wipefs(8) or sfdisk --wipe, in order to avoid possible collisions. [...] and signatures are not wiped. MR with suggested fix: https://invent.kde.org/system/kpmcore/-/merge_requests/25 (In reply to Michael Weghorn from comment #1) > MR with suggested fix: > https://invent.kde.org/system/kpmcore/-/merge_requests/25 The MR was merged now. -> fixed in https://invent.kde.org/system/kpmcore/-/commit/813e574001eb5b9248c92d2c8c0174d5dd062a26 |