On Fri Aug  3 10:27:26 EDT 2012, [email protected] wrote:
> Hello, 9fans.
> 
> I noticed a strange time stamp in /n/9fat.
> 
> term% cat /adm/timezone/local; date; touch /tmp/x; ls -l /tmp/x; 9fat:; touch 
> /n/9fat/x; ls -l /n/9fat/x
> JST 32400 JST 32400
> Fri Aug  3 22:55:31 JST 2012
> --rw-rw---- M 11 arisawa web 0 Aug  3 22:55 /tmp/x
> --rw-rw-rw- M 95 bill trog 0 Aug  4 07:55 /n/9fat/x
> term%
> 
> Why /n/9fat/x is Aug  4 07:55.
> Is is only for me?

it's for everybody.  dosfs is evidently saving in gmt,
(incorrect) and then reading in local time (correct).
this means that your tz offset gets applied twice.
since i'm gmt-4, the round trip to dosfs will give
gmt-8.  if you're gmt+9, then the round trip would
yield gmt+18, i think.

- erik

Reply via email to