File system and method of file access
First Claim
1. A method comprising:
- receiving, at a host device coupled to a non-volatile memory device, a request to open a first file stored in the non-volatile memory device, the host device including a memory that is distinct from the non-volatile memory device and that stores a first file data structure and a second file data structure; and
in response to the request to open the first file;
retrieving, by the host device, first location data of the first file from the first file data structure stored in the memory of the host device;
reading, by the host device, data of the first file at a first location of the non-volatile memory device, the first location identified based on the retrieved first location data;
locating, by the host device, a second directory entry in a file directory, wherein the second directory entry corresponds to a second file, and wherein the second directory entry is identified by a get next file operating system command;
retrieving, by the host device, second data associated with the second directory entry, wherein the second data includes second location data indicating a location of the second file in the non-volatile memory device; and
storing, by the host device, the second data in the second file data structure.
3 Assignments
0 Petitions
Accused Products
Abstract
A file system and method of file access are disclosed. In a particular embodiment, a method is performed at a host device coupled to a non-volatile memory, where the host device includes a memory having a first file data structure. A first directory entry in a file directory of a file system is located where the first directory entry corresponds to a first file stored in the non-volatile memory. First data associated with the first directory entry, including first location data indicating a location of the first file in the non-volatile memory, is retrieved and stored in the first file data structure. A request to open the first file is received. In response, the first location data of the first file is retrieved from the first file data structure and data of the first file from the non-volatile memory is read. First metadata associated with the first file is extracted from the data read from the non-volatile memory.
15 Citations
18 Claims
-
1. A method comprising:
-
receiving, at a host device coupled to a non-volatile memory device, a request to open a first file stored in the non-volatile memory device, the host device including a memory that is distinct from the non-volatile memory device and that stores a first file data structure and a second file data structure; and in response to the request to open the first file; retrieving, by the host device, first location data of the first file from the first file data structure stored in the memory of the host device; reading, by the host device, data of the first file at a first location of the non-volatile memory device, the first location identified based on the retrieved first location data; locating, by the host device, a second directory entry in a file directory, wherein the second directory entry corresponds to a second file, and wherein the second directory entry is identified by a get next file operating system command; retrieving, by the host device, second data associated with the second directory entry, wherein the second data includes second location data indicating a location of the second file in the non-volatile memory device; and storing, by the host device, the second data in the second file data structure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A host device, comprising:
-
a non-volatile memory interface to receive a removable non-volatile memory device storing a plurality of data files and a file directory; a memory internal to the host device and distinct from the removable non-volatile memory device, the memory storing a first file data structure and a second file data structure; and a file opener configured to, in response to a command to open a file having a file identifier; when the file identifier is found in the first file data structure, access the file based on an address stored in the first file data structure; when the file identifier is not found in the first file data structure; initiate a search of the file directory at the removable non-volatile memory device to identify a first identifier matching the file identifier; retrieve the first identifier from a first directory entry in the file directory; store the first identifier in the first file data structure; retrieve a second identifier from a second directory entry in the file directory using a get next command; and store the second identifier in the second file data structure. - View Dependent Claims (15, 16, 17, 18)
-
Specification