mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 07:16:40 +00:00
82ae942965
When a file system is mounted at a directory, lstat() returns attributes of the root node of the mounted file system, including the device ID of the other file system. The previous code used when --one-file-system is specified excluded the directory itself because of that. This commit changes the code so that mountpoints are kept as empty directories, its attributes set to the root note of the mounted file system. The behavior mimics `tar`, which does the same. |
||
---|---|---|
.. | ||
restic |