D5138: Fill UDS_CREATION_TIME with the value of st_birthtime on FreeBSD
Adriaan de Groot
noreply at phabricator.kde.org
Thu Mar 23 11:36:58 UTC 2017
adridg added a comment.
Further to the Linux bits: while ext4 and btrfs have the necessary fields, stat(2) doesn't expose them, xstat(2) doesn't exist yet (see LWN from a few years back), and extracting the info using other tools depends on fun stuff like knowing what kind of filesystem the file resides on (e.g. debugfs is a userland tool that can get the bits, if it's allowed to open the raw filesystem device *and* it's ext[234]).
So, Linux, sort out your *stat(2) interfaces first and we'll get back to you.
tcberner: points to be had for doing a cmake-time check for the presence of that field, since NetBSD has it as well.
REPOSITORY
R241 KIO
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D5138
To: tcberner, arrowdodger, rakuco, dfaure, adridg
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170323/997c8fd5/attachment.html>
More information about the Kde-frameworks-devel
mailing list