<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc"> <refentry id="vfs_dirsort.8"> <refmeta> <refentrytitle>vfs_dirsort</refentrytitle> <manvolnum>8</manvolnum> <refmiscinfo class="source">Samba</refmiscinfo> <refmiscinfo class="manual">System Administration tools</refmiscinfo> <refmiscinfo class="version">3.6</refmiscinfo> </refmeta> <refnamediv> <refname>vfs_dirsort</refname> <refpurpose>Sort directory contents</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>vfs objects = dirsort</command> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>DESCRIPTION</title> <para>This VFS module is part of the <citerefentry><refentrytitle>samba</refentrytitle> <manvolnum>7</manvolnum></citerefentry> suite.</para> <para>The <command>vfs_dirsort</command> module sorts directory entries alphabetically before sending them to the client.</para> <para>Please be aware that adding this module might have negative performance implications for large directories.</para> </refsect1> <refsect1> <title>EXAMPLES</title> <para>Sort directories for all shares:</para> <programlisting> <smbconfsection name="[global]"/> <smbconfoption name="vfs objects">dirsort</smbconfoption> </programlisting> </refsect1> <refsect1> <title>VERSION</title> <para>This man page is correct for version 3.3 of the Samba suite. </para> </refsect1> <refsect1> <title>AUTHOR</title> <para>The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.</para> </refsect1> </refentry>