Guys, Did anyone get a chance to look at this?
thanks, rahul --- On Fri, 31/7/09, rahul dev <[email protected]> wrote: > From: rahul dev <[email protected]> > Subject: [parted-devel] gpt_probe(): possible bug. > To: [email protected] > Date: Friday, 31 July, 2009, 5:43 PM > Guys, > > gpt_probe() function doesn't check for > GPT_HEADER_SIGNATURE in the backup copy of partition table > if the gpt signature is not found in the primary table. > > if (ped_device_read(dev, pth_raw, 1, GPT_HEADER_SECTORS) > || ped_device_read(dev, pth_raw, dev->length - 1, > GPT_HEADER_SECTORS)) { > gpt = pth_new_from_raw > (dev, pth_raw); > if (gpt->Signature == > PED_CPU_TO_LE64(GPT_HEADER_SIGNATURE)) > > gpt_sig_found = 1; > } > > If the signature is not found in the primary header, it > doesn't check for it in the secondary header. > > Is this a bug ? > > Shouldn't we check for the gpt signature in the backup > header in case it is not foung in the primary header? > > thanks, > rahul > > > Yahoo! recommends that you upgrade to > the new and safer Internet Explorer 8. > http://downloads.yahoo.com/in/internetexplorer/ > > > _______________________________________________ > parted-devel mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/parted-devel > See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

