Re: directory ops?

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Wed, 02 Jun 1999 18:00:44 -0400


In message <Pine.GSO.4.10.9906021240330.12904-100000@weyl.math.psu.edu>, Alexan
der Viro writes:
+-----
| On Wed, 2 Jun 1999, Jamie Lokier wrote:
| > Alexander Viro wrote:
| > > Adding the test will not hurt, indeed. Doing it accurately might be
| > > tricky, though. E.g. ls -l sorts the entries. In userspace. So you'll hav
| > > to factor that out - I doubt that GNU ls does bogosort, but...
| >
| > 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
+--->8

ls -lf works fine for me, sans sort....

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
     We are Linux. Resistance is an indication that you missed the point.

- 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/