Topic: [closed] Protect your valued partitions
I am sure you can save a lot of people a lot of headaches by simply adding a device filter in a configuration file. For example, I want to wipe the partition table on a USB flash drive, but by accident I deleted a crucial LVM partition. (I did read up and did restore my data, but it wasted a lot of my time - and it now needs personal intervention every time I reboot) It would be much simpler to write device and/or partition names in a config file in order to either hide some devices completely from the drop-down, or colour them red (or something to that effect). In stead, currently, md0 is always on top - and most probably the one you do not want to touch. The removable drives, which you wipe from time to time to try out a new version of Linux, is right at the bottom of the list. So you want to wipe your 4GB flash stick, but because of a small lapse in concentration, you mess up a 4TB LVM partition. How can this happen when the LVM is mounted as /home? Well, it's actually quite simple - since you know you cannot mess up a partition without unmounting it first, so you are pretty confident you can't mess up your system. So when you get an "Invalid partition table", you have no doubt that the failed attempt to make your flash drive boot an ISO caused the problem. Only after you opt to fix the solution, you realize that it was not your flash stick - you wrote a new partition table on your LVM. Pretty please, give us a way to hide our valued devices and partitions. When I do want to work on them - I'll be too happy to temporarily change my config file to include them.