[Samba] Re: Sorting directory lists [SOLVED]

Andy Kelk andykelk at gmail.com
Wed Dec 31 00:56:17 GMT 2008


On Monday 29 December 2008 08:52:25 Andy Kelk wrote:
> I guess another alternative would be to have a Samba VFS that sorts
> the readdir output before passing it on. Can anyone comment on this as
> a possible solution and whether it has been accomplished before?

I have now implemented a very simple directory sort for samba. I have not 
stress-tested it yet or had much opportunity to see how it works other than in 
my limited set-up.

I can't make any great claims for its robustness or performance but I have 
found it very useful in fixing my own problem.

It may also help others out so I've posted the results here: 
http://code.google.com/p/samba-dirsort-vfs/

Andy



More information about the samba mailing list