Expose FICLONE
and FICLONERANGE
constants in fcntl
#93475
Labels
type-feature
A feature request or enhancement
FICLONE
and FICLONERANGE
constants in fcntl
#93475
Feature or enhancement
fcntl
exposes many constants for thefcntl
andioctl
system calls. The module should exposeFICLONE
andFICLONERANGE
too; they can be passed toioctl
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.The text was updated successfully, but these errors were encountered: