Re: [gentoo-user] File timestamps got confused...why?
On Wed, 16 July 2014, at 2:21 pm, James wirel...@tampabay.rr.com wrote: ... Also, Dale recently posted this link, in another thread, which *may* help you find the source of the executable: [1] http://www.portagefilelist.de/site/query Yeah, I used that one, which is one of the things that led me to my statement that it looks like a BSD command. You'll see that: dev-libs/gnulib - /usr/share/gnulib/modules/fstat sys-freebsd/freebsd-ubin - /usr/bin/fstat Also there are BSD manpages available online: http://www.freebsd.org/cgi/man.cgi?fstat Stroller.
Re: [gentoo-user] File timestamps got confused...why?
On Monday, July 14, 2014 04:42:40 PM Dale wrote: Stroller wrote: On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller. In case you are not aware. I ran up on this ages ago and bookmarked this nifty site. http://www.portagefilelist.de/site/query It seems to show what you posted tho. Sort of. Dale :-) :-) stat is the closest I can find: $ stat notes File: ‘notes’ Size: 89 Blocks: 8 IO Block: 4096 regular file Device: 804h/2052d Inode: 656477 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ joost) Gid: ( 100/ users) Access: 2014-07-08 10:00:01.297341996 +0200 Modify: 2014-07-08 10:00:01.297341996 +0200 Change: 2014-07-08 10:00:01.330675330 +0200 Birth: - -- Joost
Re: [gentoo-user] File timestamps got confused...why?
On Mon, Jul 14, 2014 at 10:04:36PM +0100, Stroller wrote: On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller. Not to get terribly off topic here, but fstat is, in fact, a C call. I wonder if this is simply a user-made tool. If you look at code examples for this call, it's not terribly difficult to use at all. Actually, I wonder if the tool this user is using pulls the wrong field and calls it 'year'. -- Dan Oriani redchops.com (Website perpetually under construction) signature.asc Description: Digital signature
Re: [gentoo-user] File timestamps got confused...why?
On Tue, 15 Jul 2014 10:02:18 Dan Oriani wrote: On Mon, Jul 14, 2014 at 10:04:36PM +0100, Stroller wrote: On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller. Not to get terribly off topic here, but fstat is, in fact, a C call. I wonder if this is simply a user-made tool. If you look at code examples for this call, it's not terribly difficult to use at all. Actually, I wonder if the tool this user is using pulls the wrong field and calls it 'year'. I don't think it's the wrong field. Most (all?) C time calls use years since 1900 instead of the actual year value, so the 114 return values from the original message look like they are just the raw returned data. (See 'man time.h' for more information) In 1999 or earlier this just gave you the correct 2-digit year value so yes, this does like like a Y2K problem, if not a very serious one. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] File timestamps got confused...why?
On Wed, Jul 16, 2014 at 12:02:16PM +1000, Paul Colquhoun wrote: On Tue, 15 Jul 2014 10:02:18 Dan Oriani wrote: On Mon, Jul 14, 2014 at 10:04:36PM +0100, Stroller wrote: On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller. Not to get terribly off topic here, but fstat is, in fact, a C call. I wonder if this is simply a user-made tool. If you look at code examples for this call, it's not terribly difficult to use at all. Actually, I wonder if the tool this user is using pulls the wrong field and calls it 'year'. I don't think it's the wrong field. Most (all?) C time calls use years since 1900 instead of the actual year value, so the 114 return values from the original message look like they are just the raw returned data. (See 'man time.h' for more information) In 1999 or earlier this just gave you the correct 2-digit year value so yes, this does like like a Y2K problem, if not a very serious one. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro 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. -- Dan Oriani redchops.com (Website perpetually under construction) signature.asc Description: Digital signature
Re: [gentoo-user] File timestamps got confused...why?
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)
Re: [gentoo-user] File timestamps got confused...why?
On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller.
Re: [gentoo-user] File timestamps got confused...why?
Stroller wrote: On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller. In case you are not aware. I ran up on this ages ago and bookmarked this nifty site. http://www.portagefilelist.de/site/query It seems to show what you posted tho. Sort of. Dale :-) :-)