Advertisement
Guest User

vfs_fruit manual page (Samba 4.2)

a guest
Aug 25th, 2014
925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. VFS_FRUIT(8) System Administration tools VFS_FRUIT(8)
  2.  
  3. NAME
  4. vfs_fruit - Enhanced OS X and Netatalk interoperability
  5.  
  6. SYNOPSIS
  7. vfs objects = fruit
  8.  
  9. DESCRIPTION
  10. This VFS module is part of the samba(7) suite.
  11.  
  12. The vfs_fruit module provides enhanced compatibility with Apple SMB
  13. clients and interoperability with a Netatalk 3 AFP fileserver.
  14.  
  15. The module should be stacked with vfs_catia if enabling character
  16. conversion and must be stacked with vfs_streams_xattr, see the example
  17. section for the correct config.
  18.  
  19. The module enables alternate data streams (ADS) support for a share,
  20. intercepts the OS X special streams "AFP_AfpInfo" and "AFP_Resource"
  21. and handles them in a special way. All other named streams are deferred
  22. to vfs_streams_xattr which must be loaded together with vfs_fruit.
  23.  
  24. Having shares with ADS support enabled for OS X client is worthwhile
  25. because it resembles the behaviour of Apple's own SMB server
  26. implementation and it avoids certain severe performance degradations
  27. caused by Samba's case sensitivity semantics.
  28.  
  29. The OS X metadata and resource fork stream can be stored in a way
  30. compatible with Netatalk 3 by setting fruit:resource = file and
  31. fruit:metadata = netatalk.
  32.  
  33. OS X maps NTFS illegal characters to the Unicode private range in SMB
  34. requests. By setting fruit:encoding = native, all mapped characters are
  35. converted to native ASCII characters.
  36.  
  37. Finally, share access modes are optionally checked against Netatalk AFP
  38. sharing modes by setting fruit:locking = netatalk.
  39.  
  40. This module is not stackable other then described in this manpage.
  41.  
  42. OPTIONS
  43. fruit:resource = [ file | xattr | stream ]
  44. Controls where the OS X resource fork is stored:
  45.  
  46. o file (default) - use a ._ AppleDouble file compatible with OS X
  47. and Netatalk
  48.  
  49. o xattr - use a xattr, requires a filesystem with large xattr
  50. support and a file IO API compatible with xattrs, this boils
  51. down to Solaris and derived platforms and ZFS
  52.  
  53. o stream - pass the stream on to the next module in the VFS stack
  54.  
  55. fruit:metadata = [ stream | netatalk ]
  56. Controls where the OS X metadata stream is stored:
  57.  
  58. o netatalk (default) - use Netatalk compatible xattr
  59.  
  60. o stream - pass the stream on to the next module in the VFS stack
  61.  
  62. fruit:locking = [ netatalk | none ]
  63.  
  64. o none (default) - no cross protocol locking
  65.  
  66. o netatalk - use cross protocol locking with Netatalk
  67.  
  68. fruit:encoding = [ native | private ]
  69. Controls how the set of illegal NTFS ASCII character, commonly used
  70. by OS X clients, are stored in the filesystem:
  71.  
  72. o private (default) - store characters as encoded by the OS X
  73. client: mapped to the Unicode private range
  74.  
  75. o native - store characters with their native ASCII value
  76.  
  77. EXAMPLES
  78. [share]
  79. vfs objects = catia fruit streams_xattr
  80. fruit:resource = file
  81. fruit:metadata = netatalk
  82. fruit:locking = netatalk
  83. fruit:encoding = native
  84.  
  85. AUTHOR
  86. The original Samba software and related utilities were created by
  87. Andrew Tridgell. Samba is now developed by the Samba Team as an Open
  88. Source project similar to the way the Linux kernel is developed.
  89.  
  90. Samba 4.2 08/20/2014 VFS_FRUIT(8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement