| US 7,472,309 B2 | ||
| Methods and apparatus to write a file to a nonvolatile memory | ||
| Kiran Kumar G. Bangalore, Folsom, Calif. (US) | ||
| Assigned to Intel Corporation, Santa Clara, Calif. (US) | ||
| Filed on Dec. 22, 2004, as Appl. No. 11/22,193. | ||
| Prior Publication US 2006/0136507 A1, Jun. 22, 2006 | ||
| Int. Cl. G06F 11/00 (2006.01) | ||
| U.S. Cl. 714—21 [714/22; 714/24] | 20 Claims |

| 1. A method, comprising:
writing a file to a nonvolatile memory using a plurality of headers and a plurality of file fragments; and
using only information stored in one header of the plurality of headers to determine if the writing of the file to the nonvolatile
memory was interrupted by a loss of power wherein the nonvolatile memory includes a plurality of blocks, wherein the one header
is a first header of the plurality of headers, and wherein writing includes:
dividing the file into the plurality of file fragments;
allocating the first header of the plurality of headers in a first block of the plurality of blocks, wherein the first header
includes a plurality of status bits and wherein allocating includes altering a first status bit of the plurality of status
bits of the first header to indicate that the first header is allocated;
storing file information of the file in the first block of the plurality of blocks, wherein the first header corresponds to
the file information and wherein the plurality of status bits of the first header indicates status of the writing of all file
fragments of the file to the nonvolatile memory; and
altering a second status bit of the plurality of status bits of the first header to indicate that writing of the file is in
progress.
|