Comment 6 for bug 719129

Revision history for this message
Phillip Susi (psusi) wrote :

The current solution does not maintain compatibility with recent versions of dmraid though, because when the system starts up, the partitions have the 'p', and when you launch gparted, it creates duplicate devices without the 'p'. Having both devices means that you can mount both at the same time and trash your fs.

The 'p' being added only when the base name already ends in a digit seems fine. As you suggest, dmraid should be fixed to comply, but then gparted also needs fixed. It definitely needs to not pass the -P flag to dmraid. To maintain compatibility with whichever behavior dmraid uses, I think it should parse the output of dmraid for the name it chose.