On 2002-05-19 00:01, Paul Herman wrote: > > OK, here's a patch to fstat(1) which adds an "-s" option to stat(2) > a list of files on the command line. It's against -STABLE but > should still apply to -CURRENT. Comments are appreciated.
When building with WARNS=2 I also saw a few 'long int format, int argument' warnings, which can be fixed by using %u instead of %lu in printf's for st.a_time and friends. Style(9) put aside, this seems to work for me in CURRENT (but prints a few of the columns unaligned, see ATIME below): hades+root:/tmp/fstat# ./fstat -s fstat INODE DEV SIZE BLOCKS MODE FLAGS LNK UID GID ATIME MTIME CTIME NAME 14134 160768 17714 36 100755 000000 1 1001 0 1021809739 1021809739 1021809739 fstat -- Giorgos Keramidas - http://www.FreeBSD.org [EMAIL PROTECTED] - The Power to Serve To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message