On Tue, Aug 07, 2001 at 02:15:32PM +0200, Totoro <[EMAIL PROTECTED]> wrote:
> I have tried reiserfs to stock all mp3 but when I do a `ls -f` on
> the directories, it shows the files not in order; but I'd like to
> have them in order to add them in xmms without problem 

The fix is as easy as removing -f from ls' comamndline. Or sorting the
files. No filesystem guarentees sorted order.

The kernel does not need to order files, this is strictly a userspace
problem, the kernel lacks information to do the sorting.

> Is it due to hash, to order that I move them here, to kernel options,

It is due to the hash. The r5 hash does not preserve any lexical ordering
(tea is even more random) ;) This is not limited to reiserfs, of course,
neither ext2 nor minix nor... support this in any way.

> to mount options,..?
> How need I move them to the dirs to have a `ls -f` ordered?

You can't. I don't think it will work with any other filesystem (at least
not stable).

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       [EMAIL PROTECTED]      |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

Reply via email to