1 |
2014-07-15 21:44 GMT-06:00 Dan Oriani <dan@××××××××.com>: |
2 |
|
3 |
> Yeah, you're definitely right there. I was thinking that it might have |
4 |
> been another field, I wasn't even thinking of the year difference. |
5 |
> |
6 |
> Though I still wonder where he got this program from. It doesn't |
7 |
> appear to be in any packages at all, doesn't even seem to be a part of |
8 |
> any linux basesystems. |
9 |
> |
10 |
he might have modified the example in the manual of stat(2), and |
11 |
compiled it, seems simple. |
12 |
Here's how I got a binary that stat() a file and prints the info. |
13 |
$ man fstat | sed -ne '364,419p' | gcc -x c -o ~/fstat.bin - ; |
14 |
~/fstat.bin ~/fstat.bin |
15 |
File type: regular file |
16 |
I-node number: 323473 |
17 |
Mode: 100755 (octal) |
18 |
Link count: 1 |
19 |
Ownership: UID=1000 GID=100 |
20 |
Preferred I/O block size: 4096 bytes |
21 |
File size: 8413 bytes |
22 |
Blocks allocated: 24 |
23 |
Last status change: Tue Jul 15 22:51:33 2014 |
24 |
Last file access: Tue Jul 15 22:51:33 2014 |
25 |
Last file modification: Tue Jul 15 22:51:33 2014 |
26 |
|
27 |
> -- |
28 |
> Dan Oriani |
29 |
> redchops.com |
30 |
> (Website perpetually under construction) |