From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 8009 invoked from network); 24 Nov 2023 13:19:02 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 24 Nov 2023 13:19:02 -0000 Received: from mailgw.naffnet.org.uk ([62.30.227.12]) by 9front; Fri Nov 24 08:15:15 -0500 2023 Received: from site.naffnet.org.uk (localhost [127.0.0.1]) by mailgw.naffnet.org.uk (Postfix) with ESMTPS id 542987CC9C; Fri, 24 Nov 2023 13:15:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=naffnet.org.uk; h= Message-ID:From:Subject:To:MIME-Version:Content-Type; s=adsp; bh=JxxkR85XPF9dUxV+M732ASr/A1Y=; b=OEg1l3CV6lxTmQf3mI7mORy0vNg2 LKc5lU6kbJEve2ym/0JUEDYKo+Eg6PbiKAxxFWk5OPDqdCGjGZO503Ghp/xJ6Ogl 0hCmdDT54CW9eCsE4DY2cBcVlC/lS4N5TNCQVljeaMaNxJ1WcBZ0VG15JH4xrx1Z Vi8QX+sWDHBKqmo= ARC-Seal: i=1; a=rsa-sha256; cv=none; d=naffnet.org.uk; s=adsp; t= 1700831712; b=qnkFv2GdLuWlEFc0WNxozzptlADO3PWT1c4TLrJmIuHXuSu0V0 ywelFS09XvH6QfK9mN9Kay33TV9FCJ7cRC7pEs5FD5x+ZZZi51eqEHZLHleAiExX lO2D6RSl47Df2QiZPvwoIMVSDid1FYvfF1Y/XDh4PaAWZiovkvPb0fsao= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= naffnet.org.uk; h=mime-version:content-type :content-transfer-encoding:date:from:to:cc:subject:in-reply-to :references:message-id; s=adsp; bh=ynF/xP0WlkpF4hwTQ+28x9VePjSSH 03F+JjM0cCcTUo=; b=phss2f/6fXWzZWH5D1DLhA8aomfRLq2/y2MVZsjdsj3/u CWK1Wn76zuLWpdML/ntyEYZbGP2CpUW+wicVG+kQqBmgMGhMp4sv6RnrT/T6dggK 5EKluYbb810aPWNTTcX0cIUbk49FVj867cIuCvPBZvZJGJSiZkHV7atOVFSwDo= ARC-Authentication-Results: i=1; naffnet.org.uk; dkim=pass; spf=pass smtp.mailfrom=naffnet.org.uk (connected ip 192.168.0.7); dmarc=pass X-Assp-Version: 2.8.1(23131) on naffnet.org.uk X-Assp-ID: naffnet.org.uk m1-31712-12547 X-Assp-Session: 7F7A9A5948 (mail 1) X-Assp-Envelope-From: dave@naffnet.org.uk X-Assp-Intended-For: 9front@9front.org X-Assp-Intended-For: karisawa@gmail.com X-Assp-Client-TLS: yes X-Assp-Server-TLS: yes Received: from unknown ([192.168.0.7] helo=site.naffnet.org.uk) by naffnet.org.uk with SMTPS(TLSv1_2 ECDHE-RSA-AES256-GCM-SHA384) (2.8.1); 24 Nov 2023 13:15:11 +0000 Received: from bogon.co.uk (localhost [IPv6:::1]) by site.naffnet.org.uk (Postfix) with ESMTPA id B92B8C12B6; Fri, 24 Nov 2023 13:15:11 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Fri, 24 Nov 2023 13:15:11 +0000 From: dave To: 9front@9front.org Cc: =?UTF-8?Q?=E6=9C=89=E6=BE=A4=E5=81=A5=E6=B2=BB?= In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.2 Message-ID: X-Sender: dave@naffnet.org.uk Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: SSL full-stack realtime firewall proxy Subject: Re: [9front] time info of dos file Reply-To: 9front@9front.org Precedence: bulk On 2023-11-24 11:27, =E6=9C=89=E6=BE=A4=E5=81=A5=E6=B2=BB wrote: > Hello >=20 > I have a trouble with mtime of dos files >=20 > 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? >=20 >=20 > 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# >=20 > Ntote: date command shows Japanese local time. >=20 > Kenji Arisawa FAT filesystems store the timestamp in local time=20 (https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times)=20 other things will store this in UTC Thus (1700851712 - 1700819312) / 3600 =3D 9 (Japan is UTC + 9) Dave