Philippe De Muyter <phdm@macqel.be> writes:
quoted text >> No, this breaks consistency. With this patch, unlink("a."), then
>> open("a.", O_CREAT) and write(), the result depend on existent
>> files. This patch is providing two files on one name.
>
> To avoid that, we could remember that we have found a filename with a trailing
> dot (in that directory or in the whole disk), and if that's the case then
> we are allowed to create filenames with trailing dots.
It sounds like dirty hack, and it would make more complex situations.
And the user can umount/mount (or reboot, etc.) before open().
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH vfat] allow retrieving entries with trailing dots , OGAWA Hirofumi , (Sat Mar 13, 6:06 am)