GNU bug report logs -
#41495
stat birth time issues with coreutils-8.32
Previous Next
Reported by: Andy <andy <at> digitalsignalperson.com>
Date: Sat, 23 May 2020 22:04:02 UTC
Severity: normal
Tags: notabug
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41495 in the body.
You can then email your comments to 41495 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#41495
; Package
coreutils
.
(Sat, 23 May 2020 22:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andy <andy <at> digitalsignalperson.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 23 May 2020 22:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On my arch linux system, I can't see birth time with coreutils-8.32 with
either of
- zfs mounts
- ext4 mounts
But I am having success with:
- smb mounts
==============
System details:
stat --version
> stat (GNU coreutils) 8.32
pacman -Qi coreutils
> version 8.32-1
uname -a
> 5.6.14-arch1-1 #1 SMP PREEMPT Wed, 20 May 2020 20:43:19 +0000 x86_64
GNU/Linux
==========================
Reproducible example with ext4 mount:
dd if=/dev/zero of=test.img bs=1M count=10
mkfs.ext4 test.img
mkdir testext4
sudo mount -o loop test.img ~/testext4
sudo chown -R andy:andy testext4
touch testext4/bloop
stat testext4/bloop
File: testext4/bloop
Size: 0 Blocks: 0 IO Block: 1024 regular empty
file
Device: 700h/1792d Inode: 12 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ andy) Gid: ( 1000/ andy)
Access: 2020-05-23 13:48:01.000000000 -0700
Modify: 2020-05-23 13:47:59.000000000 -0700
Change: 2020-05-23 13:47:59.000000000 -0700
Birth: -
============================
My rootfs & home are on ZFS and stat on any file currently shows "-" for
Birth
=============================
Counter working example with samba mount from a server where the
filesystem is ZFS
stat /mnt/myshare/path/to/a/file.txt
File: /mnt/myshare/path/to/a/file.txt
Size: 2407 Blocks: 2048 IO Block: 1048576 regular file
Device: 71h/113d Inode: 223338692612 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ andy) Gid: ( 1000/ andy)
Access: 2020-05-22 14:09:38.730490700 -0700
Modify: 2020-05-22 14:09:38.730490700 -0700
Change: 2020-05-22 14:09:38.730490700 -0700
Birth: 2020-05-20 10:10:52.302603800 -0700
============================
Seemingly another report here:
https://unix.stackexchange.com/a/583457
> (Strangely, I was unable to get any birth time to show on Arch Linux
using a dummy ext4 file system, despite it having met all the above
requirements.)
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#41495
; Package
coreutils
.
(Sun, 24 May 2020 14:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 41495 <at> debbugs.gnu.org (full text, mbox):
On 23/05/2020 22:58, Andy wrote:
> On my arch linux system, I can't see birth time with coreutils-8.32 with
> either of
> - zfs mounts
> - ext4 mounts
>
> But I am having success with:
> - smb mounts
>
> ==============
> System details:
>
> stat --version
> > stat (GNU coreutils) 8.32
>
> pacman -Qi coreutils
> > version 8.32-1
>
> uname -a
> > 5.6.14-arch1-1 #1 SMP PREEMPT Wed, 20 May 2020 20:43:19 +0000 x86_64
> GNU/Linux
>
>
> ==========================
> Reproducible example with ext4 mount:
>
> dd if=/dev/zero of=test.img bs=1M count=10
> mkfs.ext4 test.img
> mkdir testext4
> sudo mount -o loop test.img ~/testext4
> sudo chown -R andy:andy testext4
> touch testext4/bloop
> stat testext4/bloop
>
> File: testext4/bloop
> Size: 0 Blocks: 0 IO Block: 1024 regular empty
> file
> Device: 700h/1792d Inode: 12 Links: 1
> Access: (0644/-rw-r--r--) Uid: ( 1000/ andy) Gid: ( 1000/ andy)
> Access: 2020-05-23 13:48:01.000000000 -0700
> Modify: 2020-05-23 13:47:59.000000000 -0700
> Change: 2020-05-23 13:47:59.000000000 -0700
> Birth: -
I think your ext4 file system may be too small to have appropriately
sized indoes to support birth time. The man page suggests you
would have 128 byte inodes for such a small file system.
You should be able to override that with: mkfs.ext4 -I 256 test.img
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#41495
; Package
coreutils
.
(Sun, 24 May 2020 18:45:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 41495 <at> debbugs.gnu.org (full text, mbox):
On 2020-05-24 7:45 a.m., Pádraig Brady wrote:
> On 23/05/2020 22:58, Andy wrote:
>> On my arch linux system, I can't see birth time with coreutils-8.32 with
>> either of
>> - zfs mounts
>> - ext4 mounts
>>
>> But I am having success with:
>> - smb mounts
>>
>> ==============
>> System details:
>>
>> stat --version
>> > stat (GNU coreutils) 8.32
>>
>> pacman -Qi coreutils
>> > version 8.32-1
>>
>> uname -a
>> > 5.6.14-arch1-1 #1 SMP PREEMPT Wed, 20 May 2020 20:43:19 +0000 x86_64
>> GNU/Linux
>>
>>
>> ==========================
>> Reproducible example with ext4 mount:
>>
>> dd if=/dev/zero of=test.img bs=1M count=10
>> mkfs.ext4 test.img
>> mkdir testext4
>> sudo mount -o loop test.img ~/testext4
>> sudo chown -R andy:andy testext4
>> touch testext4/bloop
>> stat testext4/bloop
>>
>> File: testext4/bloop
>> Size: 0 Blocks: 0 IO Block: 1024 regular
>> empty
>> file
>> Device: 700h/1792d Inode: 12 Links: 1
>> Access: (0644/-rw-r--r--) Uid: ( 1000/ andy) Gid: ( 1000/ andy)
>> Access: 2020-05-23 13:48:01.000000000 -0700
>> Modify: 2020-05-23 13:47:59.000000000 -0700
>> Change: 2020-05-23 13:47:59.000000000 -0700
>> Birth: -
>
> I think your ext4 file system may be too small to have appropriately
> sized indoes to support birth time. The man page suggests you
> would have 128 byte inodes for such a small file system.
> You should be able to override that with: mkfs.ext4 -I 256 test.img
Thanks you are correct, birth time appears correctly with that option.
I think this can be closed, not a bug with coreutils. For the remaining
issue it seems zfs doesn't support statx with birth time yet:
https://github.com/openzfs/zfs/issues/8507
Added tag(s) notabug.
Request was from
Pádraig Brady <P <at> draigBrady.com>
to
control <at> debbugs.gnu.org
.
(Sun, 24 May 2020 20:05:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
41495 <at> debbugs.gnu.org and Andy <andy <at> digitalsignalperson.com>
Request was from
Pádraig Brady <P <at> draigBrady.com>
to
control <at> debbugs.gnu.org
.
(Sun, 24 May 2020 20:05:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 22 Jun 2020 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 358 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.