Bug 9521

Summary: ls without -l or any other option requiring metadata still lstats each object in directory.
Product: Busybox Reporter: John Ata <john.ata>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.21.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description John Ata 2016-12-27 19:54:36 UTC
For some reason, a simple "ls" (without color) attempts to perform an lstat on each file in a directory even though a readdir should have been sufficient to display the file name.  This is unlike the standard Linux ls and seems less performant because of the kernel overhead.