ls long listing -stop the du madness
I have a lot of experience with most unix variants except BSD. Recently I built a FreeNAS system and I've encountered a problem.
For longer than I care to admit I've used the long version of the ls command (ls -l) to give me a quick listing of a directory so I can see not only what files/directories are located there, but also their permissions.
Tried it on the FreeNAS box and it takes over a minute to return a listing. This is not a hardware/resource issue. The BSD long listing essentially does a du which for a directory with many files can take a while. On all the other systems I've worked on (SCO, Linux, Xenix, AIX, AUX, Solaris(IIRC), etc) this doesn't happen.
Is there a equivalent command in BSD that will behave similar to what I used to? Perhaps some hidden option in ls that will suppress the du action?