2014-07-15 21:44 GMT-06:00 Dan Oriani <d...@redchops.com>:

> Yeah, you're definitely right there. I was thinking that it might have
> been another field, I wasn't even thinking of the year difference.
>
> Though I still wonder where he got this program from. It doesn't
> appear to be in any packages at all, doesn't even seem to be a part of
> any linux basesystems.
>
he might have modified the example in the manual of stat(2), and
compiled it, seems simple.
Here's how I got a binary that stat() a file and prints the info.
$ man fstat | sed -ne '364,419p' | gcc -x c -o ~/fstat.bin - ;
~/fstat.bin ~/fstat.bin
File type:                regular file
I-node number:            323473
Mode:                     100755 (octal)
Link count:               1
Ownership:                UID=1000   GID=100
Preferred I/O block size: 4096 bytes
File size:                8413 bytes
Blocks allocated:         24
Last status change:       Tue Jul 15 22:51:33 2014
Last file access:         Tue Jul 15 22:51:33 2014
Last file modification:   Tue Jul 15 22:51:33 2014

> --
> Dan Oriani
> redchops.com
> (Website perpetually under construction)

Reply via email to