[Samba] vfs_fruit の設定について

https://www.samba.org/samba/docs/current/man-html/vfs_fruit.8.html

日本語
http://www.samba.gr.jp/project/translation/current/htmldocs/manpages/vfs_fruit.8.html

vfs_fruit — Enhanced OS X and Netatalk interoperability

EXAMPLES

[share]
vfs objects = catia fruit streams_xattr
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native

 

fruit:resource = [ file | xattr | stream ]

Controls where the OS X resource fork is stored.

Due to a spelling bug in all Samba versions older then 4.6.0, this option can also be given as fruit:ressource, ie with two s.

Settings:

file (default) – use a ._ AppleDouble file compatible with OS X and Netatalk

xattr – use a xattr, requires a filesystem with large xattr support and a file IO API compatible with xattrs, this boils down to Solaris and derived platforms and ZFS

stream (experimental) – pass the stream on to the next module in the VFS stack. Warning: this option should not be used with the streams_xattr module due to the extended attributes size limitations of most filesystems.

fruit:metadata = [ stream | netatalk ]

Controls where the OS X metadata stream is stored:

netatalk (default) – use Netatalk compatible xattr

stream – pass the stream on to the next module in the VFS stack

fruit:locking = [ netatalk | none ]

none (default) – no cross protocol locking

netatalk – use cross protocol locking with Netatalk

fruit:encoding = [ native | private ]

Controls how the set of illegal NTFS ASCII character, commonly used by OS X clients, are stored in the filesystem.

Important: this is known to not fully work with fruit:metadata=stream or fruit:resource=stream.

private (default) – store characters as encoded by the OS X client: mapped to the Unicode private range

native – store characters with their native ASCII value. Important: this option requires the use of vfs_catia in the VFS module stack as shown in the examples section.

Linux、Netatalk、Samba、NFSを使用したファイルサーバーについて研究・運用しています。

fsをフォローする
参考リンク

コメント