Subject: minor nit in ls...
To: BSD Current Users <>
From: Greywolf <>
List: current-users
Date: 01/20/2000 23:50:05
I notice that ls calls stat() to retrieve inode number information.

I was under the impression that if you didn't specifically request
inode information (i.e. mode, flags, owner, group, phase of moon,
hashed can of worms, etc.), ls wasn't supposed to stat() the files,
at least not on a 'ls -i dirname' (it used to just run readdir()
and print out the inum as stored in the directory).

Is this done the way it is now because ls relies heavily on fts_*()
calls and semantics?

NetBSD: Get Over It.