GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Expose `FICLONE` and `FICLONERANGE` constants in `fcntl` · Issue #93475 · python/cpython

Expose FICLONE and FICLONERANGE constants in fcntl #93475

New issue
Copy link
New issue
Copy link
Closed
#93478
Closed
Expose FICLONE and FICLONERANGE constants in fcntl#93475
#93478
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement

Description

@illia-v
illia-v
opened on Jun 3, 2022
Issue body actions

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 on some filesystems (e.g., btrfs, OCFS2, and XFS).
https://man7.org/linux/man-pages/man2/ioctl_ficlone.2.html

Pitch

These constants can be used to reflink files in users' code, and they have a potential to be used in shutil in the future #81338.

Activity

  1. illia-v
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Jun 3, 2022
  2. vstinner
    closed this as completedin #93478on Jun 6, 2022
  3. vstinner
    added a commit that references this issue on Jun 6, 2022

    gh-93475: Expose FICLONE and FICLONERANGE constants in fcntl (#93478)

    d1e2e0e
  4. serhiy-storchaka
    added a commit that references this issue on Jun 26, 2022

    Revert 30935 defer bpo45162 to 312 (#94285)

    1ffde3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.