ofpart: Partitions at same address cannot have the same name

Ricardo Ribalda Delgado ricardo.ribalda at uam.es
Thu Apr 23 03:56:39 EST 2009


Hi Scott

> Perhaps "compatible" should be used instead?

What do you mean?

if (strcmp(partname, "partition") || strcmp(partname, "compatible") )

I can't see the advantages.


>
>> Hi Recardo,
>>
>> I would suggest to do:
>>
>>                if (strcmp(partname, "partition") <= 0) {
>
> Check whether it sorts alphabetically before "partition"?  Why?
>
> -Scott
>



-- 
Ricardo Ribalda
http://www.eps.uam.es/~rribalda/



More information about the Linuxppc-dev mailing list