摘要 |
A technique for providing an accurate view of an exported file system structure. An in-memory filesystem is maintained as a combination of separate filesystems, each corresponding to a physical file system on the server. Directories in the in-memory, or pseudo, filesystems are also coupled with an existing directory in the physical filesystems on the server which is exporting the file system(s) or portions thereof. This allows the server to present a filesystem tree to a client which includes the files explicitly exported by a system administrator, and also maintain the device and attributes information of each file regardless of it being an actual file in the physical filesystem or a node in the in-memory pseudo filesystem. Clients can thus view the exported filesystem tree as a collection of filesystems. For each filesystem seen by the client, each file/directory will depict the same set of attributes and operations as are available on the exporting server.
|