1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_streams_xattr.8">
6 <refentrytitle>vfs_streams_xattr</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">&doc.version;</refmiscinfo>
15 <refname>vfs_streams_xattr</refname>
16 <refpurpose>Store alternate data streams in posix xattrs</refpurpose>
21 <command>vfs objects = streams_xattr</command>
26 <title>DESCRIPTION</title>
28 <para>This VFS module is part of the
29 <citerefentry><refentrytitle>samba</refentrytitle>
30 <manvolnum>7</manvolnum></citerefentry> suite.</para>
32 <para>The <command>vfs_streams_xattr</command> enables storing of NTFS
33 alternate data streams in the file system. As a normal posix file
34 system does not support the concept of multiple data streams per file,
35 the streams_xattr module stores the data in posix extended attributes
36 (xattrs). The name of these attributes by default is
37 user.DosStream."ADS-NAME". The prefix "user.DosStream." can be changed
38 with the module option <command>streams_xattr:prefix</command>, but be
39 aware that this will also expose those ADS over the SMB extended
40 attributes interface.</para>
42 <para>The file system that is shared with this module enabled must
43 support xattrs.</para>
45 <para>Please note that most file systems have severe limitations on
46 the size of xattrs. So this module might work for applications like IE
47 that stores small zone information in streams but will fail for
48 applications that store serious amounts of data in ADSs.</para>
52 <title>OPTIONS</title>
57 <term>streams_xattr:prefix = STRING</term>
59 <para>Name prefix used when storing an ADS in an xattr, defaults to
60 <command>user.DosStream.</command>. Changing this will also
61 expose ADS over the SMB extended attributes interface.</para>
66 <term>streams_xattr:store_stream_type = [yes|no]</term>
68 <para>Whether the xattr names for Alternate Data Streams of type
69 "$DATA" are suffixed by the stream type string ":$DATA".
70 The default is <command>yes</command>.</para>
79 <title>EXAMPLES</title>
82 <smbconfsection name="[share]"/>
83 <smbconfoption name="vfs objects">streams_xattr</smbconfoption>
91 <para>The original Samba software and related utilities
92 were created by Andrew Tridgell. Samba is now developed
93 by the Samba Team as an Open Source project similar
94 to the way the Linux kernel is developed.</para>