From owner-freebsd-fs@FreeBSD.ORG Sun Mar 8 16:03:56 2015 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3A079EF for ; Sun, 8 Mar 2015 16:03:56 +0000 (UTC) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mailhost.stack.nl", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B430E87 for ; Sun, 8 Mar 2015 16:03:56 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id EEA3B3592EE for ; Sun, 8 Mar 2015 17:03:52 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id D86C728494; Sun, 8 Mar 2015 17:03:52 +0100 (CET) Date: Sun, 8 Mar 2015 17:03:52 +0100 From: Jilles Tjoelker To: freebsd-fs@FreeBSD.org Subject: [patch] restore(8) nanosecond timestamps Message-ID: <20150308160352.GA69376@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2015 16:03:56 -0000 Hi, /sbin/restore rounds down timestamps to the microsecond. Now that we have futimens() and utimensat(), we can set timestamps to the nanosecond. A patch is at https://reviews.freebsd.org/D2020 . Please review. -- Jilles Tjoelker