9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: Linux 9p timestamps
Date: Mon, 31 Jul 2006 13:50:33 -0500	[thread overview]
Message-ID: <6d59d09005457d314859de9527b284b8@quanstro.net> (raw)
In-Reply-To: <7cc0b452659ba19f4167e9536630f371@quintile.net>

how about
	timezone=GMT date 	# plan 9
and
	date --utc		# linux

if these, differ, you need to take a look at timezones.
then
	syscall -s fstat 0 buf 1024 	< $file	# plan 9
and
	stat $file				# unix
if these differ, maybe v9fs is doing some extra conversion?

- erik

On Mon Jul 31 02:28:46 CDT 2006, steve@quintile.net wrote:
> > okay - I'll bite -- so what's csant's problem then?
>
> Timezone tables being trash at one end or the other?
>
> How about 10 lines of C to print stat()'s mtime of the
> shared file in decimal from both plan9's point of view
> and Unix's?
>
> -Steve


  reply	other threads:[~2006-07-31 18:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-30  5:53 [9fans] " csant
2006-07-30 15:18 ` [9fans] " Eric Van Hensbergen
2006-07-30 19:48   ` C H Forsyth
2006-07-30 22:17     ` erik quanstrom
2006-07-31  3:20       ` Eric Van Hensbergen
2006-07-31  7:27         ` Steve Simon
2006-07-31 18:50           ` erik quanstrom [this message]
2006-07-31 19:27             ` Lluís Batlle
2006-07-31 20:24               ` csant
2006-07-31 20:57                 ` Steve Simon
2006-07-31 22:04                   ` csant
2006-07-31 22:33                     ` erik quanstrom
2006-07-31 23:06                       ` csant
2006-07-31 22:12               ` Anthony Sorace

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6d59d09005457d314859de9527b284b8@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).