[Parted-maintainers] Bug#582818: parted can delete active partition -> Dataloss!
Achim Schaefer
achim_schaefer at gmx.de
Sun May 23 22:22:33 BST 2010
Package: parted
Version: 2.2-5
Severity: grave
Justification: causes non-serious data loss
I just used parted to delete a mounted partition.
How to reproduce:
- empty partition table
- create 2 partitions (in the normal way first partion is physically before the secound)
- mount the secound one (of course create a filesystem, ...)
- delete the first partion
=> there is an error message teh kernel can not read the new table, because the second is still mounted
=> now parted shows only one partion(as the first one!)
- delete the first partition (even so still mounted)
I did the same on a disk with 6 partitions 6 was the mounted one, and I deleted partiton 5
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (800, 'unstable'), (800, 'testing'), (500, 'experimental'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages parted depends on:
ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libparted0debian1 2.2-5 The GNU Parted disk partitioning s
ii libreadline6 6.1-2 GNU readline and history libraries
parted recommends no packages.
Versions of packages parted suggests:
pn parted-doc <none> (no description available)
-- no debconf information
More information about the Parted-maintainers
mailing list