lkml.org 
[lkml]   [1999]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: directory ops?
Alexander Viro wrote:
> > GNU ls stats in readdir order, so no bogosort.
>
> Yes, but ls -l sorts the results. Which is the place where one might
> insert interesting algorithms ;-) Seriously, I would not be surprised if
> GNU ls had higher userland overhead than BSD one. I'll look them through
> today.

Ah, good point. GNU ls has these options which you might want to try:

-U do not sort; list entries in directory order
-f do not sort, enable -aU, disable -lst

-- Jamie


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog