disk wizard allowing system drive to be changed / formated.
after the web page loads I'm given the option to select the main system drive, in doing so I could format the system drive. Is it possible to remove the system drive from the list when first loading the web page.
this maybe be design but I think that this could lead to more problems.
the attached image shows the system drive that was selected and then I could format the boot partition.
also I have inserted a cropped image of the page before as I have two drive the same and this could be the problem.
/dev/sda the system drive.
/dev/sdc new drive not mounted or formatted.
#1 Updated by tmkasun almost 5 years ago
Thank for pointing out this issue,yes it is possible for someone to format a system partition unknowingly.
In your case you were able to select the device which has the root file system,Because there is an unmounted partition on it,Currently we list all the partitions on the device which has selected on the first step,regardless of it is already mounted on the HDA or not,that's why you see those system mount point in the list.
I can suggest one solution,
We can skip showing the mounted partitions on the device and show only the unmounted partitions, so that users can't select system mounts to continue with the wizard,
and at the same time we can hide the format_entire disk option when a disk contains the operating system or root partition(/).
Also available in: Atom