 Essentially, erasure sets all bits to 1, and programming can only clear bits to 0.Some file systems designed for flash devices make use of this rewrite capability, for example Yaffs1, to represent sector metadata.Other flash file systems, such as YAFFS2, never make use of this "rewrite" capability—they do a lot of extra work to meet a "write once rule".