Re: VFAT complains that my file system may be corrupted

From: Tony Luck
Date: Mon May 06 2013 - 15:02:50 EST


On Mon, May 6, 2013 at 11:51 AM, Tony Luck <tony.luck@xxxxxxxxx> wrote:
> I guess I can fake them easily (ia64 runs little endian on Linux).

Duh. Especially as the only use is line 560-562 in src/boot.c:

de.starthi = CT_LE_W(0);
de.start = CT_LE_W(0);
de.size = CT_LE_L(0);

Gotta make sure to use a little endian 0 rather than risk a big-endian one. WTF?

Anyhow ... thanks for the pointer. That fixed my filesystem for me.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/