Re: [Samba] OT? File order on CentOS/Samba server -- FINALLY SOLVED

2009-01-24 Thread Miguel Medalha
I just turned dir_index OFF with tune2fs. Now the directory order is the same as the inode order. This makes the order of files predictable and in fact turns out to solve my problem. With dir_index turned OFF on that filesystem, when a copy is made to another directory (even from Windows on

[Samba] OT? File order on CentOS/Samba server

2009-01-22 Thread Miguel Medalha
I hope someone familiar with the way Linux processes files can enlighten me on the following: I recently replaced an old Windows 2000 server with a new machine running CentOS 5.2. It uses Samba 3.2.7 to serve a network of Windows XP clients. We are a newspaper. We use Acrobat Distiller to

Re: [Samba] OT? File order on CentOS/Samba server

2009-01-22 Thread Jeremy Allison
On Thu, Jan 22, 2009 at 08:28:41PM +, Miguel Medalha wrote: My question is: how is the order of files determined by Linux when a particular order is not explicitly required by a program? There is not ordering in POSIX filesystems. If you want an ordered list you must sort them yourself.

Re: [Samba] OT? File order on CentOS/Samba server

2009-01-22 Thread John Drescher
Someone has posted a Samba VFS that will sort directory output in alphabetical order (but only for the current locale). You could examine that. http://www.mail-archive.com/samba@lists.samba.org/msg98048.html -- To unsubscribe from this list go to the following URL and read the instructions:

Re: [Samba] OT? File order on CentOS/Samba server

2009-01-22 Thread Volker Lendecke
On Thu, Jan 22, 2009 at 09:20:42PM -0500, John Drescher wrote: Someone has posted a Samba VFS that will sort directory output in alphabetical order (but only for the current locale). You could examine that. http://www.mail-archive.com/samba@lists.samba.org/msg98048.html FYI: This is