From owner-freebsd-fs@freebsd.org Sat Aug 26 07:34:16 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EAAADF03ED for ; Sat, 26 Aug 2017 07:34:16 +0000 (UTC) (envelope-from holin@iki.fi) Received: from vs23.mail.saunalahti.fi (vs23.mail.saunalahti.fi [193.64.193.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vs23.mail.saunalahti.fi", Issuer "vs23.mail.saunalahti.fi" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 03FEC2CB1 for ; Sat, 26 Aug 2017 07:34:14 +0000 (UTC) (envelope-from holin@iki.fi) Received: from vs23.mail.saunalahti.fi (localhost [127.0.0.1]) by vs23.mail.saunalahti.fi (Postfix) with ESMTP id 6CC0D200A3 for ; Sat, 26 Aug 2017 10:27:14 +0300 (EEST) Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by vs23.mail.saunalahti.fi (Postfix) with ESMTP id 6215020085 for ; Sat, 26 Aug 2017 10:27:14 +0300 (EEST) Received: from [10.0.0.7] (62-78-248-13.bb.dnainternet.fi [62.78.248.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by gw01.mail.saunalahti.fi (Postfix) with ESMTPSA id 56F67400B9 for ; Sat, 26 Aug 2017 10:27:13 +0300 (EEST) From: Heikki Lindholm Subject: zfs birthtimes cannot be set To: freebsd-fs@freebsd.org Message-ID: <5d975b32-cdec-1a8c-3a6a-c569c8c125a1@iki.fi> Date: Sat, 26 Aug 2017 10:27:12 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2017 07:34:16 -0000 Hello list, man utimes says: "The access time is set to the value of the first element, and the modification time is set to the value of the second element. For file systems that support file birth (creation) times (such as UFS2), the birth time will be set to the value of the second element if the second element is older than the currently set birth time." On FreeBSD (11.0), I can't set birthtime / crtime on ZFS although files appear to have it. Is it supposed to work? If not, is there a WONTFIX on this one for some particular reason? On Solaris, crtimes can be set via system xattr calls. Please, cc me as I'm not subscribed to the list. Regards, Heikki Lindholm