From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 31 Jul 2006 22:24:58 +0200 To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Re: Linux 9p timestamps From: csant Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <7cc0b452659ba19f4167e9536630f371@quintile.net> <6d59d09005457d314859de9527b284b8@quanstro.net> <45219fb00607311227y47b3f1fel75d741fa4fff435f@mail.gmail.com> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <45219fb00607311227y47b3f1fel75d741fa4fff435f@mail.gmail.com> User-Agent: Opera Mail/9.01 (Linux) Topicbox-Message-UUID: 950892be-ead1-11e9-9d60-3106f5b1d025 >> how about >> timezone=3DGMT date # plan 9 Tue Aug 1 01:33:05 GMT 2006 >> and >> date --utc # linux Mon Jul 31 19:33:18 UTC 2006 However, just running `date` on both machines returns the correct values= . >> if these, differ, you need to take a look at timezones. % cat /env/timezone EST -18000 EDT -14400 Is there something I need to fix? >> then >> syscall -s fstat 0 buf 1024 < $file # plan 9 [csant] (0000000000003e7f 2 00) --rw-rw-r-- (664) M 8 csant csant 213 J= ul = 31 00:51 guide mtime: Mon Jul 31 00:51:12 EDT 2006 (1154321472) atime: Mon Jul 31 20:50:03 EDT 2006 (1154393403) >> and >> stat $file # unix File: `/mnt/9/usr/csant/guide' Size: 213 Blocks: 1 IO Block: 16384 regular fil= e Device: 12h/18d Inode: 16001 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 0/ root) Gid: ( 0/ root= ) Access: 2006-08-01 02:50:03.282078625 +0200 Modify: 2006-07-31 06:51:12.282078625 +0200 Change: 2006-07-31 06:51:12.282078625 +0200 /c