That's true of course, one example would be to remove the RAID superblock with dd. The problem is if this is done by mistake, it could be catastrophic. It might be enough to remove the wrong partitions (with BLKPG_DEL_PARTITION, thanks to Matt Domsch for pointing me in the right direction), it will at least prevent mkfs /dev/hda1 etc, which would have unforeseeable consequences.
There are 1001 things that could have unforseen consequences, when root is doing something ;-)
This is getting into the area of standard Linux kernel policy (or lack thereof): let root shoot himself in the foot, if he wishes.
I would certainly -want- to be able to dd -from- my underlying disks, even if an ataraid or md device is sitting on top, for example.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html