Method for identifying corresponding directories in a union-mounted file system
AssigneeApple Inc.
InventorBrent P. Callaghan
Life of this patent
Estimating the term…
Abstract
In one embodiment, in response to a request for searching a file stored in a first directory, a first lookup is performed by a virtual file system in a first file system to locate the file. The virtual file system traverses from the first directory back to a mount point of the first file system to recreate a search path from the mount point to the first directory. The virtual file system performs a second lookup in a second directory of a second file system that is associated with the mount point to locate the file in the second file system, where second directory is identified by the recreated search path.
Claims21
A computer-implemented method, comprising:
- in response to a request for searching a file stored in a first directory, performing a first lookup in a first file system to locate the file;
- traversing from the first directory back to a mount point of the first file system to recreate a search path from the mount point to the first directory;
- and
- performing a second lookup in a second directory of a second file system that is associated with the mount point to locate the file in the second file system, wherein the second directory is identified by the recreated search path.
A non-transitory computer-readable medium having instructions stored therein, which when executed by a computer, cause the computer to perform a method, the method comprising:
- in response to a request for searching a file stored in a first directory, performing a first lookup in a first file system to locate the file;
- traversing from the first directory back to a mount point of the first file system to recreate a search path from the mount point to the first directory;
- and
- performing a second lookup in a second directory of a second file system that is associated with the mount point to locate the file in the second file system, wherein the second directory is identified by the recreated search path.
A data processing system, comprising:
- a processor;
- and
- a memory having instructions stored therein, which when executed from the memory, cause the processor to
- in response to a request for searching a file stored in a first directory, perform a first lookup in a first file system to locate the file,
- traverse from the first directory back to a mount point of the first file system to recreate a search path from the mount point to the first directory, and
- perform a second lookup in a second directory of a second file system that is associated with the mount point to locate the file in the second file system, wherein the second directory is identified by the recreated search path.
Dependencies are inferred from the claim text.