Title: Expose `FICLONE` and `FICLONERANGE` constants in `fcntl` · Issue #93475 · python/cpython · GitHub
Open Graph Title: Expose `FICLONE` and `FICLONERANGE` constants in `fcntl` · Issue #93475 · python/cpython
X Title: Expose `FICLONE` and `FICLONERANGE` constants in `fcntl` · Issue #93475 · python/cpython
Description: Feature or enhancement fcntl exposes many constants for the fcntl and ioctl system calls. The module should expose FICLONE and FICLONERANGE too; they can be passed to ioctl to share some data of one file with another file by reflinking o...
Open Graph Description: Feature or enhancement fcntl exposes many constants for the fcntl and ioctl system calls. The module should expose FICLONE and FICLONERANGE too; they can be passed to ioctl to share some data of on...
X Description: Feature or enhancement fcntl exposes many constants for the fcntl and ioctl system calls. The module should expose FICLONE and FICLONERANGE too; they can be passed to ioctl to share some data of on...
Opengraph URL: https://github.com/python/cpython/issues/93475
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose `FICLONE` and `FICLONERANGE` constants in `fcntl`","articleBody":"**Feature or enhancement**\r\n\r\n`fcntl` exposes many constants for the `fcntl` and `ioctl` system calls. The module should expose `FICLONE` and `FICLONERANGE` too; they can be passed to `ioctl` to share some data of one file with another file by reflinking on some filesystems (e.g., btrfs, OCFS2, and XFS).\r\nhttps://man7.org/linux/man-pages/man2/ioctl_ficlone.2.html\r\n\r\n**Pitch**\r\n\r\nThese constants can be used to reflink files in users' code, and they have a potential to be used in `shutil` in the future #81338.","author":{"url":"https://github.com/illia-v","@type":"Person","name":"illia-v"},"datePublished":"2022-06-03T21:02:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/93475/cpython/issues/93475"}
| 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:16a87ee4-e1c7-8a2b-6794-f75b0894fdcb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9014:5F187:541400:702F0E:6969C9F1 |
| html-safe-nonce | 59a44fc38937eb716373e01d2134ddd25fe7a7ca15bbdc4a036e6443a5c8fb3e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDE0OjVGMTg3OjU0MTQwMDo3MDJGMEU6Njk2OUM5RjEiLCJ2aXNpdG9yX2lkIjoiMjUxMDM2Njg2OTg2MzY1NDI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | be4ca8253dcb6190aa6309d68750fdcea1c9091bfc827ef0d363541bceb0cf34 |
| hovercard-subject-tag | issue:1260376844 |
| 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/93475/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c7da49a973c1a439f3ab408b73820ce5a1f1a9e4a7d83a4892186ee0916b625/python/cpython/issues/93475 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c7da49a973c1a439f3ab408b73820ce5a1f1a9e4a7d83a4892186ee0916b625/python/cpython/issues/93475 |
| og:image:alt | Feature or enhancement fcntl exposes many constants for the fcntl and ioctl system calls. The module should expose FICLONE and FICLONERANGE too; they can be passed to ioctl to share some data of on... |
| 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 | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width