[Samba] Sorting of filenames on samba shares

Philip Lawatsch philip at lawatsch.at
Sun Aug 8 16:52:44 GMT 2004


Hi,


I've the folloing setup:

2 Machines running w2k with the latest patches,
1 Linux machine running samba 3.0.5

If have on local drive, one mount from w2k to w2k and one from samba to w2k.

If i now do

mkdir a
mkdir b
mkdir z
mkdir c

on all of them, I get different Results from a "dir" or "tree" command.

In case of the local drive or the mount from w2k to w2k the newly 
created directories are listed sorted, like

E:\test>tree /A
E:.
+---a
+---b
+---c
\---z

However, in the case of the samba mount they're sorted in the order of 
creation (a,b,z,c).

Is there any way to get the same behavour (sorting alphabetically) from 
samba too? My problem is that for instance the output of a tree command 
of samba share is rather useless since its not sorted in a way I can 
lookup fast ;)

kind regards Philip



More information about the samba mailing list