On 08/08/2010 11:39 PM, Davidlohr Bueso wrote: >> On Fri, 2010-08-06 at 17:42 +0200, J B wrote: >> >> sprintf(msg, "%s %d: %s", bad, i+1, errmsg); /* fix */ > > I was able to reproduce the error on a disk I own, the mentioned fix > just prints a higher value of i, but the error still occurs. Thanks for testing it. The fix is to print a correct partition number. > I doubt this is a bug, It is a bug in response to 'cfdisk -Ps', it shows a wrong partition number. It is a valuable diagnostic message by itself, the only tool that gave us a warning about a partition problem (after anaconda partitioning tool refused to even touch the disk, recommending a wipe-out of it). We were able to repair the disk and save most of the installations. We enjoy having both tools, cfdisk and fdisk. JB -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html