Title: Update `os.copy_file_range` documentation · Issue #93180 · python/cpython · GitHub
Open Graph Title: Update `os.copy_file_range` documentation · Issue #93180 · python/cpython
X Title: Update `os.copy_file_range` documentation · Issue #93180 · python/cpython
Description: Documentation of os.copy_file_range needs a few updates: Since Linux kernel 5.3 files pointed by src and dst no longer must reside in the same filesystem according to the manual page. There is a known issue for special filesystems like p...
Open Graph Description: Documentation of os.copy_file_range needs a few updates: Since Linux kernel 5.3 files pointed by src and dst no longer must reside in the same filesystem according to the manual page. There is a kn...
X Description: Documentation of os.copy_file_range needs a few updates: Since Linux kernel 5.3 files pointed by src and dst no longer must reside in the same filesystem according to the manual page. There is a kn...
Opengraph URL: https://github.com/python/cpython/issues/93180
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update `os.copy_file_range` documentation","articleBody":"Documentation of [`os.copy_file_range`](https://docs.python.org/3.12/library/os.html#os.copy_file_range) needs a few updates:\r\n1. Since Linux kernel 5.3 files pointed by `src` and `dst` no longer must reside in the same filesystem according to [the manual page](https://man7.org/linux/man-pages/man2/copy_file_range.2.html).\r\n2. There is [a known issue](https://lore.kernel.org/linux-fsdevel/20210126135012.1.If45b7cdc3ff707bc1efa17f5366057d60603c45f@changeid/) for special filesystems like procfs and sysfs that should be noted.\r\n3. It should documented that the function may implicitly utilize reflinks and server-side copy.\r\n\r\nThis was requested in https://github.com/python/cpython/pull/93152#issuecomment-1135113245.","author":{"url":"https://github.com/illia-v","@type":"Person","name":"illia-v"},"datePublished":"2022-05-24T18:10:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/93180/cpython/issues/93180"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4677b73b-1619-e088-b7dc-19c4d45803ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB5E:2728FC:27E307:367981:6969676E |
| html-safe-nonce | d877c9435469b9a5d7ab988619b55e4996db9c1f65b1cfa5dcc5af49e31e9fa7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjVFOjI3MjhGQzoyN0UzMDc6MzY3OTgxOjY5Njk2NzZFIiwidmlzaXRvcl9pZCI6IjM2NTc2MDA5Mjg1MDA1MDg1MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c0f1f6807e433d391546b3fc534c92bfcb846ebcd79d238b759e6dae4431be4d |
| hovercard-subject-tag | issue:1246956724 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/93180/issue_layout |
| twitter:image | https://opengraph.githubassets.com/07898e5990755c7a68760a772a43effd5993ec62703fc0d60d68221b27af18d9/python/cpython/issues/93180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/07898e5990755c7a68760a772a43effd5993ec62703fc0d60d68221b27af18d9/python/cpython/issues/93180 |
| og:image:alt | Documentation of os.copy_file_range needs a few updates: Since Linux kernel 5.3 files pointed by src and dst no longer must reside in the same filesystem according to the manual page. There is a kn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | illia-v |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width