mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 01:46:31 +02:00
serve nfs: make metadata files have special file handles
Metadata files have the file handle of their source file with 0x00000001 suffixed in big endian so we can look them up directly from their file handles.
This commit is contained in:
@@ -169,6 +169,12 @@ Where |$PORT| is the same port number used in the |serve nfs| command
|
||||
and |$HOSTNAME| is the network address of the machine that |serve nfs|
|
||||
was run on.
|
||||
|
||||
If |--vfs-metadata-extension| is in use then for the |--nfs-cache-type disk|
|
||||
and |--nfs-cache-type cache| the metadata files will have the file
|
||||
handle of their parent file suffixed with |0x00, 0x00, 0x00, 0x01|.
|
||||
This means they can be looked up directly from the parent file handle
|
||||
is desired.
|
||||
|
||||
This command is only available on Unix platforms.
|
||||
|
||||
`, "|", "`") + vfs.Help(),
|
||||
|
Reference in New Issue
Block a user