We prove that linear coset codes could achieve asympotically the capacity of writeeffieient memory
and point out that the covering radius of linear codes plays an important role in the cede construction for write-efficient memory.We also present a construction method of error-correcting codes for write-efficient memory.