[lkml]   [2001]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] Ext2 Directory Index - File Structure
Daniel Phillips wrote:
> Jamie Lokier wrote:
> > Daniel Phillips wrote:
> > > ls already can't handle the directories I'm working with on a regular
> > > basis. It's broken and needs to be fixed. A merge sort using log n
> > > temporary files is not hard to write.
> >
> > ls -U | sort
> >
> > should do the trick.
> Um, yep. Now ls should do that itself instead of giving up with an error.

Sorting 1 million 30-character strings does not require temporary files
on a machine with > 35 MB anyway, and that can be virtual, so if anyone
cares about ls sorting huge directories I suggest improving the
in-memory sort.

-- Jamie
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.046 / U:3.408 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site