Hi,
fstat(1) should be able to take a set of filenames as arguments to limit the results
of its output to the specified files. However, it doesn't work at the moment, because
of the existance of udev_t. (It compares the st_dev from the stat structure used by
stat(2) with in-kernel dev_t structures. As it stands, "fstat <filename>" will never
produce any output other than a header.)
I've attached a patch that appears reliable. Can someone review it (and possibly
commit??)
--
Peter.
_____________________________________
Get your free E-mail at http://www.ireland.com
fstat.c.patch