Claims
- 1. A method for storing a file in a contiguous set of memory cells in a memory device, the method comprising:
(a) reserving at least one memory cell in a contiguous set of memory cells for a file structure of a file to be stored in the contiguous set of memory cells; (b) storing the file in the contiguous set of memory cells, wherein the file is stored only in unreserved memory cells; and (c) storing the file structure in the reserved at least one memory cell.
- 2. The method of claim 1, wherein (c) is performed if the file structure cannot be stored in unreserved memory cells.
- 3. The method of claim 2 further comprising:
(d) if the file structure can be stored in unreserved memory cells, storing the file structure in unreserved memory cells.
- 4. The method of claim 3 further comprising:
(e) storing a second file in the at least one reserved memory cell.
- 5. The method of claim 1 further comprising, before the act of reserving, determining a number of memory cells needed to store the file structure.
- 6. The method of claim 1, wherein the file structure comprises a file structure selected from the group consisting of a file footer, a file name, a file attribute, and a file descriptor.
- 7. The method of claim 1, wherein the reserved at least one memory cell is at an end of the contiguous set of memory cells.
- 8. The method of claim 1, wherein the memory device is logically organized into a plurality of blocks, each block comprising a plurality of lines; and wherein the reserved at least one memory cell comprises a line.
- 9. The method of claim 8, wherein a line comprises a minimum number of memory cells that can be written into during a write operation.
- 10. The method of claim 1, wherein the memory device is logically organized into a plurality of blocks, each block comprising at least one line; and wherein the reserved at least one memory cell comprises a block.
- 11. The method of claim 10, wherein a line comprises a minimum number of memory cells that can be written into during a write operation.
- 12. The method of claim 1, wherein the memory device comprises a write-once memory device.
- 13. The method of claim 1, wherein the memory device comprises a three-dimensional write-once memory device.
- 14. A method for partitioning memory cells in a write-once memory device comprising a plurality of memory cells, the method comprising:
(a) creating a partition of memory cells in a write-once memory device; (b) reserving at least one memory cell in the partition for a file system structure of the partition; (c) storing a file in the partition, wherein the file is stored only in unreserved memory cells in the partition; and (d) storing the file system structure in the reserved at least one memory cell.
- 15. The method of claim 14 further comprising, before the act of reserving, determining a number of memory cells needed to store the file system structure.
- 16. The method of claim 14, wherein the file system structure comprises a file system structure selected from the group consisting of an allocation table, a listing of stored files, a search tree, a boot block, a partition header, a partition footer, a description of contents of the write-once memory device, and configuration information.
- 17. The method of claim 14, further comprising:
(e) locating a file or free memory cells in the partition using the file system structure stored in the reserved at least one memory cell.
- 18. The method of claim 14, wherein the reserved at least one memory cell is at an end of the partition.
- 19. The method of claim 14, wherein the memory device is logically organized into a plurality of blocks, each block comprising a plurality of lines; and wherein the reserved at least one memory cell comprises a line.
- 20. The method of claim 19, wherein a line comprises a minimum number of memory cells that can be written into during a write operation.
- 21. The method of claim 14, wherein the memory device is logically organized into a plurality of blocks, each block comprising at least one line; and wherein the reserved at least one memory cell comprises a block.
- 22. The method of claim 21, wherein a line comprises a minimum number of memory cells that can be written into during a write operation.
- 23. The method of claim 14, wherein the memory device comprises a three-dimensional write-once memory device.
- 24. A method for writing file system structures of two file systems into a partition of memory cells of a memory device, the method comprising:
(a) creating a partition of memory cells in a memory device; (b) reserving a first set of memory cells in the partition for a file system structure of a first file system; (c) reserving a second set of memory cells in the partition for a file system structure of a second file system; (d) storing the file system structure of the first file system in the reserved first set of memory cells; and (e) storing the file system structure of the second file system in the reserved second set of memory cells.
- 25. The method of claim 24, wherein (e) is performed in response to a request from a user of the memory device.
- 26. The method of claim 24, wherein (e) is performed automatically by a file system in communication with the memory device.
- 27. The method of claim 24, wherein the memory device is logically organized into a plurality of blocks, each block comprising a plurality of lines; and wherein at least one of the reserved first and second sets of memory cells comprises a line.
- 28. The method of claim 27, wherein a line comprises a minimum number of memory cells that can be written into during a write operation.
- 29. The method of claim 24, wherein the memory device is logically organized into a plurality of blocks, each block comprising at least one line; and wherein at least one of the reserved first and second sets of memory cells comprises a block.
- 30. The method of claim 29, wherein a line comprises a minimum number of memory cells that can be written into during a write operation.
- 31. The method of claim 24, wherein the memory device comprises a write-once memory device.
- 32. The method of claim 24, wherein the memory device comprises a three-dimensional write-once memory device.
- 33. A method for writing file system structures of two file systems into a partition of memory cells of a memory device, the method comprising:
(a) creating a partition of memory cells in a memory device; (b) storing a file system structure of a first file system in the partition; and (c) storing a file system structure of a second file system in the partition.
- 34. The method of claim 33, wherein the memory device comprises a write-once memory device.
- 35. The method of claim 33, wherein the memory device comprises a three-dimensional write-once memory device.
- 36. A memory device comprising a partition of memory cells, the memory device comprising:
a first set of memory cells in a partition storing a file system structure of a first file system; and a second set of memory cells in the partition storing a file system structure of a second file system.
- 37. The memory device of claim 36, wherein the memory device comprises a write-once memory device.
- 38. The invention of claim 36, wherein the memory device comprises a three-dimensional write-once memory device.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a divisional of application Ser. No. 09/748,589, filed Dec. 22, 2000, which is a continuation-in-part of U.S. patent application Ser. No. 09/662,953, filed Sep. 15, 2000 (now abandoned), each of which is incorporated by reference herein.
Divisions (1)
|
Number |
Date |
Country |
Parent |
09748589 |
Dec 2000 |
US |
Child |
10253049 |
Sep 2002 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09662953 |
Sep 2000 |
US |
Child |
09748589 |
Dec 2000 |
US |