From: 有澤健治 <karisawa@gmail.com>
To: dave <dave@naffnet.org.uk>
Cc: 9front@9front.org
Subject: Re: [9front] time info of dos file
Date: Sat, 25 Nov 2023 06:47:19 +0900 [thread overview]
Message-ID: <CAN4cm2skz+VWVfPL4aMfi6pdHr6zS29WOn4Q8_b0NVq9aPmRDg@mail.gmail.com> (raw)
In-Reply-To: <sign.069278fc83.fab008ddd2a71cb5362fdc7054a4bd3a@naffnet.org.uk>
thanks for the info.
it seems that I need another mtime command.
2023年11月24日(金) 22:15 dave <dave@naffnet.org.uk>:
>
> On 2023-11-24 11:27, 有澤健治 wrote:
> > Hello
> >
> > I have a trouble with mtime of dos files
> >
> > Hera is my file server running on 9front.
> > A dos file in usb disk is mounted on /n/dos.
> > /n/dox/x and /tmp/x is touched at the same time.
> > However my system shows different mtime.
> > How to fix this problem?
> >
> >
> > hera# touch /n/dos/x /tmp/x; ls -l /n/dos/x /tmp/x; date
> > --rw-rw-rw- M 372782 bill trog 0 Nov 25 03:48 /n/dos/x
> > --rw-r--r-- M 24 arisawa arisawa 1051 Nov 24 18:48 /tmp/x
> > Fri Nov 24 18:48:32 JST 2023
> > hera#
> > hera# mtime /n/dos/x; mtime /tmp/x
> > 1700851712 /n/dos/x
> > 1700819312 /tmp/x
> > hera#
> >
> > Ntote: date command shows Japanese local time.
> >
> > Kenji Arisawa
>
> FAT filesystems store the timestamp in local time
> (https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times)
> other things will store this in UTC
>
> Thus (1700851712 - 1700819312) / 3600 = 9 (Japan is UTC + 9)
>
> Dave
>
prev parent reply other threads:[~2023-11-24 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 11:27 有澤健治
2023-11-24 13:15 ` dave
2023-11-24 21:47 ` 有澤健治 [this message]
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=CAN4cm2skz+VWVfPL4aMfi6pdHr6zS29WOn4Q8_b0NVq9aPmRDg@mail.gmail.com \
--to=karisawa@gmail.com \
--cc=9front@9front.org \
--cc=dave@naffnet.org.uk \
/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).