From owner-freebsd-bugs@freebsd.org Tue Feb 9 12:42:56 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DB5453D75D for ; Tue, 9 Feb 2021 12:42:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DZjGl6q01z4y5P for ; Tue, 9 Feb 2021 12:42:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E9F6953DACD; Tue, 9 Feb 2021 12:42:55 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E9BDC53D75C for ; Tue, 9 Feb 2021 12:42:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZjGl629Kz4yQ5 for ; Tue, 9 Feb 2021 12:42:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C1F982F28 for ; Tue, 9 Feb 2021 12:42:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 119Cgtdp074984 for ; Tue, 9 Feb 2021 12:42:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 119Cgt54074983 for bugs@FreeBSD.org; Tue, 9 Feb 2021 12:42:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253370] Nanoseconds is not supported in stat command Date: Tue, 09 Feb 2021 12:42:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: gnu X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jifil54609@wirese.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2021 12:42:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253370 Bug ID: 253370 Summary: Nanoseconds is not supported in stat command Product: Base System Version: 12.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: gnu Assignee: bugs@FreeBSD.org Reporter: jifil54609@wirese.com I am using FreeBSD but it does not show nanoseconds for the file with stat command. The file system is ZFS. stat -f "Access (atime): %Sa%nModify (mtime): %Sm%nChange (ctime): %Sc%nBir= th=20 (btime): %SB" /test.txt Access (atime): Nov 08 23:14:37 2020=20 Modify (mtime): Nov 08 23:14:37 2020 Change (ctime): Nov 08 23:14:37 2020 Birth (btime): Nov 08 23:14:37 2020 When I test with GNU/Linux it supports nanoseconds with stat command. stat '/test.txt' File: /test.txt Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: fd00h/64768d Inode: 11949 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/liveuser) Gid: ( 1000/liveuser) Context: unconfined_u:object_r:user_home_t:s0 Access: 2021-01-28 23:14:03.117698491 +0100 Modify: 2021-01-28 23:14:03.117698491 +0100 Change: 2021-01-28 23:14:03.117698491 +0100 Birth: 2021-01-28 23:14:03.117698491 +0100 --=20 You are receiving this mail because: You are the assignee for the bug.=