René's URL Explorer Experiment


Title: On filesystems which do not support birthtime, stats.birthtime can be greater than stats.mtime · Issue #2222 · nodejs/node · GitHub

Open Graph Title: On filesystems which do not support birthtime, stats.birthtime can be greater than stats.mtime · Issue #2222 · nodejs/node

X Title: On filesystems which do not support birthtime, stats.birthtime can be greater than stats.mtime · Issue #2222 · nodejs/node

Description: stats.birthtime tracks ctime on filesystems which do not support birthtime, even if stats.ctime > stats.mtime or stats.ctime > stats.atime. It would be better in this case if stats.birthtime be set to the earliest of all available timest...

Open Graph Description: stats.birthtime tracks ctime on filesystems which do not support birthtime, even if stats.ctime > stats.mtime or stats.ctime > stats.atime. It would be better in this case if stats.birthtime be set...

X Description: stats.birthtime tracks ctime on filesystems which do not support birthtime, even if stats.ctime > stats.mtime or stats.ctime > stats.atime. It would be better in this case if stats.birthtime ...

Opengraph URL: https://github.com/nodejs/node/issues/2222

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"On filesystems which do not support birthtime, stats.birthtime can be greater than stats.mtime","articleBody":"stats.birthtime tracks ctime on filesystems which do not support birthtime, even if stats.ctime \u003e stats.mtime or stats.ctime \u003e stats.atime.\n\nIt would be better in this case if stats.birthtime be set to the earliest of all available timestamps.\n\nHere is a test to reproduce, which should pass on OS X and fail on Ubuntu:\n\n``` js\nvar fs = require('fs');\nconsole.log('creating...');\ntry {\n  fs.unlinkSync('testbirthtime');\n} catch (error) {}\nfs.writeFileSync('testbirthtime', '');\nconsole.log('statting...');\nvar before = fs.statSync('testbirthtime');\nif (before.mtime.getTime() === before.ctime.getTime() \u0026\u0026 before.ctime.getTime() === before.birthtime.getTime()) {\n  console.log('stats.mtime===stats.ctime===stats.birthtime');\n} else {\n  console.log(JSON.stringify(before));\n  // should never be here, unless the test is faulty.\n  throw new Error('expected stats.mtime===stats.ctime===stats.birthtime after create');\n}\n// give enough time for filesystem timestamp granularity\nconsole.log('waiting 3 seconds...');\nsetTimeout(\n  function() {\n    console.log('changing mode to bump ctime...');\n    fs.chmodSync('testbirthtime', '777');\n    console.log('statting again...');\n    var after = fs.statSync('testbirthtime');\n    try {\n      fs.unlinkSync('testbirthtime');\n    } catch (error) {}\n    if (after.birthtime.getTime() === before.birthtime.getTime()) {\n      console.log('===========');\n      console.log('TEST PASSED');\n      console.log('stats.birthtime stayed the same after chmod');\n    } else {\n      console.log('===========');\n      console.log('TEST FAILED');\n      console.log('stats.birthtime after chmod !== stats.birthtime at creation');\n      if (after.birthtime.getTime() \u003e before.birthtime.getTime()) {\n        console.log('stats.birthtime has gone forward in time');\n      } else {\n        console.log('stats.birthtime has gone backward in time');\n      }\n      if (after.mtime.getTime() === before.mtime.getTime()) {\n        console.log('stats.mtime stayed the same after chmod');\n      }\n      if (after.birthtime.getTime() === after.ctime.getTime()) {\n        console.log('stats.birthtime now equals newer stats.ctime');\n        console.log('where birthtime is not supported by filesystem:');\n        console.log('  stats.birthtime should be earlier of stats.mtime and stats.ctime');\n      }\n    }\n  },\n  3000\n);\n```\n","author":{"url":"https://github.com/jorangreef","@type":"Person","name":"jorangreef"},"datePublished":"2015-07-22T14:49:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/2222/node/issues/2222"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:67451b8d-6eb2-d672-84c0-3f990a8b0091
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id94E4:6435C:1FD89DC:2BA8FD5:6A4ECF43
html-safe-nonceee2670cfc4152ee7a770e3140aef0ec7fdabb63e7ee9a80ad9cbf529b099dca4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEU0OjY0MzVDOjFGRDg5REM6MkJBOEZENTo2QTRFQ0Y0MyIsInZpc2l0b3JfaWQiOiIyOTgzNDc1MzUxNTAwMjc5NjE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacae1828b13e7832507ca1255cc24ba285d40a8a371a5b7a788402d7a474c8b6a4
hovercard-subject-tagissue:96586470
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/2222/issue_layout
twitter:imagehttps://opengraph.githubassets.com/01892bb79d115b32a1030f5157ed3c364ac6dfc57b8e313aa082c2eddad6c05d/nodejs/node/issues/2222
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/01892bb79d115b32a1030f5157ed3c364ac6dfc57b8e313aa082c2eddad6c05d/nodejs/node/issues/2222
og:image:altstats.birthtime tracks ctime on filesystems which do not support birthtime, even if stats.ctime > stats.mtime or stats.ctime > stats.atime. It would be better in this case if stats.birthtime be set...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejorangreef
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/2222#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F2222
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F2222
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/2222
Reloadhttps://github.com/nodejs/node/issues/2222
Reloadhttps://github.com/nodejs/node/issues/2222
Please reload this pagehttps://github.com/nodejs/node/issues/2222
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/2222
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.3k https://github.com/nodejs/node/issues
Pull requests 965 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
On filesystems which do not support birthtime, stats.birthtime can be greater than stats.mtimehttps://github.com/nodejs/node/issues/2222#top
docIssues and PRs related to the documentations.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22doc%22
fsIssues and PRs related to the fs subsystem / file system.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
good first issueIssues that are suitable for first-time contributors.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
https://github.com/jorangreef
jorangreefhttps://github.com/jorangreef
on Jul 22, 2015https://github.com/nodejs/node/issues/2222#issue-96586470
docIssues and PRs related to the documentations.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22doc%22
fsIssues and PRs related to the fs subsystem / file system.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
good first issueIssues that are suitable for first-time contributors.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.