This is the same thing HTML5 is doing
Posted Mar 15, 2009 22:33 UTC (Sun) by khim
In reply to: Sorry, but I don't see it this way...
Parent article: Ts'o: Delayed allocation and the zero-length file problem
Sorry, but it's not the problem with POSIX or FS - it's problem with
number of applications. Once a lot of applications are starting to depend
on some weird feature (content sniffing in case of HTML, atomicity of
open/write/close/rename on case of filesystem) it makes no sense to try to
fix them all. Much better to document it and make it official. This is what
Microsoft did with a lot of "internal" functions in MS-DOS 5 (and it was
praised for it, not ostracized), this is what HTML is doing in HTML5 and
this is what Linux filesystems should do.
Was it good idea to depend on said atomicity? May be, may be not. But
the time to fix these problems come and gone - today it's much better to
extend the spec.
to post comments)