[Bug 503125] Re: gparted allows user to overwrite active mounted partition
Phillip Susi
psusi at cfl.rr.com
Sat Dec 3 20:35:43 UTC 2011
Based on Curtis' comments, and my attempts to reproduce this ( got the
warning ), I'm marking this bug as fixed.
** Changed in: gparted (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/503125
Title:
gparted allows user to overwrite active mounted partition
Status in “gparted” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: gparted
I wanted to create a FAT-16 partition on a USB stick and pulled up
gparted on this Ubuntu 9.04 "Jaunty" system. I THOUGHT I had chosen
/dev/sdc or whatever the USB stick had come up with, but apparently I
still had /dev/sda selected.
Being somewhat familiar with the command-line parted I assumed
(WRONGLY) that gparted would NOT let me touch the mounted filesystem.
parted is very strict about it.
HOWEVER when you choose
Device --> Create Partition Table
gparted will allow you to blow away the ACTIVE MOUNTED partition on your system. gparted warns you that it will erase all data on the device, which of course isn't completely true... but I think it should instead put up a warning that the user has chosen an active mounted filesystem and offer to unmount it before blowing the partition table away. AND if the partition won't unmount PLEASE DON'T have gparted do anything to it!!!
Fortunately I can attest that Ubuntu continues to run without a valid
partition table on its root filesystem. I was able to back up my data,
boot from a Live CD, and use the CLI parted utility to "rescue" the
old root, home, and swap partitions. fsck wasn't happy with the block
counts (the sizes were off by one block on each partition), but I
haven't seen any lasting damage. (Yet.)
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/gparted
InterpreterPath: /bin/dash
Package: gparted 0.4.3-0ubuntu1
ProcAttrCurrent: unconfined
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gparted
Uname: Linux 2.6.28-17-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/503125/+subscriptions
More information about the foundations-bugs
mailing list