Bug 9521 - ls without -l or any other option requiring metadata still lstats each object in directory.
Summary: ls without -l or any other option requiring metadata still lstats each object...
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.21.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-27 19:54 UTC by John Ata
Modified: 2016-12-27 19:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.