On Sun, Jun 08, 2014 at 02:41:50PM +0300, Kapetanakis Giannis wrote:

> Hi,
> 
> While updating an older system (5.4) today to current I wasn't sure if I've
> already passed the bump to 64bit time_t.
> 
> While searching for it I got into this:
> http://daemonforums.org/showthread.php?t=7021
> 
> which has a simple script to check.
> # date -r 2147483648
> Tue Jan 19 05:14:08 EET 2038
> which is fine
> 
> and
> # touch -t 203801201234 y2k38-test
> # ls -ld y2k38-test
> -rw-r--r--  1 root  wheel  0 Dec 14  1901 y2k38-test
> # stat y2k38-test
> 1024 51995 -rw-r--r-- 1 root wheel 0 0 "Dec 14 17:06:36 1901" "Dec 14
> 17:06:36 1901" "Jun  8 14:37:13 2014" 16384 0 0 y2k38-test
> 
> which is not so fine.
> 
> What am I missing here?

ffs1 is not capable of storing 64 bit timestamps. ffs2 is.

        -Otto

Reply via email to