On Wed, 2007-06-06 at 16:41 +0400, Sergei Shtylyov wrote: > > if (*part++ & 1) /* bit 0 set signifies read only partition */ > > (*parts)[i].mask_flags = MTD_WRITEABLE; > > > Doesn't that make it RW if bit 0 is set? What do you get if you mask out the WRITEABLE flag? -- dwmw2