Closed
Description
Apple has F_PUNCHHOLE for punching file system holes.
aarch64-apple-darwin
fcntl.h:
#define F_PUNCHHOLE 99 /* Deallocate a range of the file */
/* fpunchhole_t used by F_PUNCHHOLE */
typedef struct fpunchhole {
unsigned int fp_flags; /* unused */
unsigned int reserved; /* (to maintain 8-byte alignment) */
off_t fp_offset; /* IN: start of the region */
off_t fp_length; /* IN: size of the region */
} fpunchhole_t;
Happy to add this myself with some pointers. Cheers!
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
devnexen commentedon Sep 7, 2023
please do :-) here is the contributing guide.
anacrolix commentedon Sep 7, 2023
Woops, already did, here's the PR #3337
Add F_PUNCHHOLE and fpunchhole_t
Add F_PUNCHHOLE and fpunchhole_t