Linux Kernel 4.11 has the statx() system call, which among other things reports files' creation times. This supports the much-requested feature to add file creation files to Dolphin's file info display and columns (https://bugs.kde.org/show_bug.cgi?id=286689). Preliminary support in DOlphin is getting done now, and it currently works for FreeBSD with the UFS and ZFS file systems: https://phabricator.kde.org/D5138 It would be great to integrate Linux support by adding some code to populate UDS_CREATION_TIME if the filesystem is EXT4 and the kernel has the statx() system call available.
No real need for this separate bug; duplicate of https://bugs.kde.org/show_bug.cgi?id=286689 *** This bug has been marked as a duplicate of bug 286689 ***
Re-opening since the duped bug has been closed as fixed, and anyway, my patch to implement the functionality in Linux (https://phabricator.kde.org/D7423) really belongs in this bug.
*** Bug 389893 has been marked as a duplicate of this bug. ***
*** Bug 397398 has been marked as a duplicate of this bug. ***
A patch is underway https://phabricator.kde.org/D20096
Thanks so much, Méven!
Git commit f3b0f220a78d4e5a5b94b46e931779d755ac19ce by Méven Car. Committed on 13/04/2019 at 13:30. Pushed by meven into branch 'master'. Fill UDSEntry::UDS_CREATION_TIME under linux when glibc >= 2.28 Summary: The birthtime can be retrieved using using the statx function, available since glibc 2.28. In case the kernel lacks support for the underlying syscall, glibc falls back to stat internally. The validity of the btime field is indicated in the mask field, e.g. when the kernel or the filesystem lacks support for btime. For details, see http://man7.org/linux/man-pages/man2/statx.2.html In dolphin, the creation time column is now filled in linux : {F6736022} FIXED-IN: 5.58 Test Plan: Tested using kioslavetest and local build of dolphin. Tested without HAVE_STATX under linux. Reviewers: #frameworks, dfaure, fvogt, bruns, broulik Reviewed By: fvogt, bruns Subscribers: anthonyfieroni, pino, bcooksley, ngraham, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D20096 M +18 -0 src/ioslaves/file/ConfigureChecks.cmake M +3 -0 src/ioslaves/file/config-kioslave-file.h.cmake M +92 -24 src/ioslaves/file/file.cpp M +17 -0 tests/kioslavetest.cpp https://commits.kde.org/kio/f3b0f220a78d4e5a5b94b46e931779d755ac19ce
<3