You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.1 KiB

  1. # follow-symlinks
  2. This feature, when enabled, will cause symlinks to be interpreted by
  3. mergerfs as their target.
  4. When there is a getattr/stat request for a file mergerfs will check if
  5. the file is a symlink and depending on the `follow-symlinks` setting
  6. will replace the information about the symlink with that of that which
  7. it points to.
  8. When unlink'ing or rmdir'ing the followed symlink it will remove the
  9. symlink itself and not that which it points to.
  10. * `follow-symlinks=never`: Behave as normal. Symlinks are treated as such.
  11. * `follow-symlinks=directory`: Resolve symlinks only which point to directories.
  12. * `follow-symlinks=regular`: Resolve symlinks only which point to regular files.
  13. * `follow-symlinks=all`: Resolve all symlinks to that which they point
  14. to. Symlinks which do not point to anything are left as is.
  15. * Defaults to `never`.
  16. **WARNING:** This feature should be considered experimental. There
  17. might be edge cases yet found. If you find any odd behaviors please
  18. file a ticket on [github](https://github.com/trapexit/mergerfs/issues/new?assignees=&labels=bug%2C+investigating&projects=&template=bug_report.md&title=).