Skip to content

Expose FICLONE and FICLONERANGE constants in fcntl #93475

@illia-v

Description

@illia-v

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy