On Tue, Aug 07, 2001 at 02:16:51PM +0200,  Marc A. Lehmann  wrote:
> 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.
> 
I can't change the `ls -f` in `ls` 'cause it's in xmms.

The problem is that when I do `ls -f` on ext2, I have the files sorted
and when I try it on reiser, I have them random. I don't like to listen
random mp3 but in order ;)
It's a minor userspace problem but I had the problem only with reiser, not
with ext2 nor with nfs ...
I'd like only to have the files in the same order that I saved them, and
I haven't.:/

Totoro

> 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).

Reply via email to