Denys Vlasenko wrote: > Well, I don't understand what the original post implies. What ls > should do instead? It has to obtain filename list SOMEHOW, no? > It can be done only by asking the kernel to do readdir, [l]stat, > etc. In case of "ls" without options, readdir() without lstat would be enough, if busybox would not do colored output by default. Coreutils "ls" does not lstat when it doesn't create colored output (which is default if stdout is not a tty), because the stat information is not used in that case..
Regards Ralf Friedl _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
