Re: [PATCH] Added CONFIG_VFAT_FS_DUALNAMES option

From: H. Peter Anvin
Date: Wed Jul 08 2009 - 12:47:30 EST


Pavel Machek wrote:
>
> But ... it was, and there is still possibility of just using position
> in directory to avoid collisions completely.

I was just going to ask this. Rather than using a random number, we
should use something based on the position in the directory, and I
suspect we should still verify that it is unique (since some FAT
implementation may garbage-collect the directory thereby moving the offset.)

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/