DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50LNcr6n2946938
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50LNcr6n2946938
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Txsk33uz
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2C793857C6A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1737502732;
	bh=EiF3O+vcPj6jXKN9uQ8VGIMtEBUBly0/Khl0dl+OpeI=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=Txsk33uz2UWR89S2g1z9PWO+pqJG9RE4zz4UMnwgp2/GUBiNRvuiVVnBKKeRBT6DQ
	 /te+rZ/kh/YKY89iVQuM6LlRyEAM2zzVCQDVtB0Uid/nr94TNSeBh/3OltBhFapf8F
	 4qFuhIysNnJqI4KbkiOo3v1/MRA8d/GJl7Iz9pqY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6461D3858D28
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6461D3858D28
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1737502706; cv=pass;
 b=P7OOESZq4uwK8cVMu99oz2g8RISX4VsI+kHGnhc8iCDKcEH/6CCmHzWoEVdxhJnZCqnl2oXHEuLDMfvWr6LzybghuNBZnv7Yur08eGe7iX4fnjFivPrJ72DoPrr/Ic1vpsDbFjQGity1dzkaKGNiUUCN+gQjl5uZNX+OvGkWOFc=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
 t=1737502706; c=relaxed/simple;
 bh=QnvuWKUuREfhvSdORTDLeQc/1TrtG7deFgrK2R/OjSo=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=JPhL0JQZVv2dp7soIdwABEQdLvnWRdJZzA0R9E5LkAecnoqPi4B1zyR2LA78R3N0fpFhibsFXywgNOFu/fNcIcOxjOouzk7AU7SMB14B6IgZno4dVMlgwemg8roH1DzGT/NbiSMWqXMLbBooRkJnq04XHOp1kPTP3Irz3T3wWjc=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6461D3858D28
X-Sender-Id: dreamhost|x-authsender|gisburn@nrubsig.org
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1737502705; a=rsa-sha256;
 cv=none;
 b=VZG2+7lbTjwDXEe4gIur0CTUR1YESyLrQ4vMpOPi1wIukMwUBpesHxGzDN3EGWjfxnko7j
 2MpMp0DTY8NPUODNNcr3OT+GnDv0ZtTn0ZGEpAya57SXY2nWCkr+byjchcGSa2nojU7gXT
 FsqRFbksnnCkrdcWmPqMfB48GDRQVSuXm6P4IkT9v/Q9ttTXRTJ5HYRreb5n4bWAoBgRky
 OzpXfC0iaDkUenxkT0hsf331fGITkS8lb5Mjat3uNBcJpaSsd63lQImBrVPESAk2YzM52F
 ywWvLQzg97h3nKQR/aUhRKBflPiYQKNpktHPvu6YC5X+imEyNutVzu6KjJsjcQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1737502705;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 dkim-signature; bh=PcvY4le1YhghYGjryajrBwdm2lm3hWDjR7LgQ4lxalk=;
 b=FAikaXc2RGcv0ZzWGxVCzyzXf+btx2wAtzNMyEJgWmNrS6Xq0OWrsE+BMBK8zCxrAGqVvN
 D/GEKGvTcE5QglqfS0KmjYj5WX97bmQ0M4sviCqeq+WUoD7tdeWUw/WPUMWZc36QPlzX47
 hXsq5y58Z9A20A9EwxoWM5BE1Nuf9wQ1ERugUIaTwFisezKqzocmtPdkVvRbqmkm5tjKss
 4tEJrgWgRbtiXUzFXNqsOYtx8qEb4Cf+QvpYaUhhs5Z+8GJAH4dteydw5fUnv8YHVOQ8ys
 I8jLDu3PJaqi05LKZErHuNs2FP8igmU90KHiia9BroJKAaq0f2la96uhnAD6cQ==
ARC-Authentication-Results: i=1; rspamd-5b877fb8f-2s85b;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=roland.mainz@nrubsig.org
X-Sender-Id: dreamhost|x-authsender|gisburn@nrubsig.org
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|gisburn@nrubsig.org
X-MailChannels-Auth-Id: dreamhost
X-Quick-Irritate: 4f10fe9f19253861_1737502705278_14350306
X-MC-Loop-Signature: 1737502705278:3596224221
X-MC-Ingress-Time: 1737502705278
X-Gm-Message-State: AOJu0YzlWA3cVICJN/N4cR2JeQIt0UOfXWe9pAnI6lVI4MOdIyEGljcQ
 RPKTZVak+zuJc/a1Tejnc96drx4/8I1hWBE3bz35RiSabdhzbul8HWHZK6abTTCMrFipkXm7rSN
 OCo4vxbdW72M9ylJsts8sjYImw38=
X-Google-Smtp-Source: AGHT+IFJUZJ1/3gEir2fxvfK3U9UG+dQoPMbjFtSF5eV9GSa6zm8pTa4b7R7A0zRiq6ifc+C+aQ+V8mLuQqUtvfTbAo=
X-Received: by 2002:a5d:5848:0:b0:385:e37a:2a56 with SMTP id
 ffacd0b85a97d-38bf57c0551mr17456830f8f.52.1737502703436; Tue, 21 Jan 2025
 15:38:23 -0800 (PST)
MIME-Version: 1.0
Date: Wed, 22 Jan 2025 00:37:57 +0100
X-Gmail-Original-Message-ID: <CAKAoaQk4Ftv=VpoW7uDM7Pjo8HhEHO1cMPz+6A0kmz2fWj4o0g@mail.gmail.com>
X-Gm-Features: AbW1kvb9UukuAdXz47ed_lZy589fCWPQQ7BWXQN2G-7kTqRa9hkgR_bBqp0I-tk
Message-ID: <CAKAoaQk4Ftv=VpoW7uDM7Pjo8HhEHO1cMPz+6A0kmz2fWj4o0g@mail.gmail.com>
Subject: Handing filesystems which do not support some timestamp fields in
 |FILE_BASIC_INFO| and Microsoft NFSv3 driver "NfsV3Attributes" EA ...
To: cygwin@cygwin.com
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Roland Mainz via Cygwin <cygwin@cygwin.com>
Reply-To: Roland Mainz <roland.mainz@nrubsig.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Hi!

----

If a Windows filesystem does not support a type of timestamp it sets
the matching timestamp field in |FILE_BASIC_INFO| to |0LL| (e.g. see
Windows-driver-samples/filesys/cdfs/fileinfo.c:
|Buffer->LastAccessTime.QuadPart = 0| ; typically this can affect
|FILE_BASIC_INFO.CreationTime| and/or
|FILE_BASIC_INFO.LastAccessTime|, but formally any combination of
timestamp fields can be unsupported(==|0LL|)), and the Microsoft NFSv3
driver sets the matching
|nfs_timestruc_t.tv_sec|+|nfs_timestruc_t.tv_nsec| to a negative value
(traditional UNIX uses -1, see
https://github.com/gagern/gnulib/blob/master/lib/stat-time.h#L173 -
and this value is then propagated via NFS), but I can't find a place
in Cygwin where this is explicitly handled - is this missing, or is
this code handling this somehow implicitly ?

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
