[wplug] Quick mtime query

Joseph Prostko joe.prostko+wplug at gmail.com
Fri Jun 24 23:21:50 EDT 2011


Cool, thanks, Rick!  It's just what I anticipated.

In the meantime, I decided to go digging into the Haiku source, and it
seems we add some small fudge factor into the nanosecond field in
order to help better distribute the keys in the B+ tree that houses
the modification time index.  In other words, it seems to be done by
design, but has a side effect I didn't anticipate.  I'll ask the main
filesystem dude about it, but I think it's going to have to be lived
with until R1 final of Haiku comes out, as it seems to be a feature
actually.

- joe


On Fri, Jun 24, 2011 at 10:57 PM, Rick Reynolds <rick at rickandviv.net> wrote:
> OSX 10.6.7 with HFS+ filesystem returns this:
>
> $ stat somefile
> 234881026 22978136 -rw-r--r-- 1 rick rick 0 0 "Jun 24 22:55:06 2011" "Jun 24 12:00:00 2011" "Jun 24 22:55:06 2011" "Jun 24 12:00:00 2011" 4096 0 0 somefile
>
> Thanks,
> Rick Reynolds
> --
> "If you have any trouble sounding condescending, find a Unix user to show you how it's done" -- Scott Adams
>
>
>
> On Jun 24, 2011, at 8:46 PM, Joseph Prostko wrote:
>
>> touch somefile; touch -t 201106241200 somefile; stat somefile
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>


More information about the wplug mailing list