SkillAgentSearch skills...

Makesparse

Tiny utility to leverage the new FALLOC_FL_PUNCH_HOLE flag for fallocate(), and turn a non-sparse file into a sparse one (on supported file systems).

Install / Use

/learn @amscanne/Makesparse
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

                         README
                       ==========

This is a simple utility to use the new FALLOC_FL_PUNCH_HOLE mechanism for fallocate(). It was written as a quick and simple demonstration of when you might want to quickly scan memory for zeros (although it probably won't matter here for practical reasons, as the backing filesystem is almost certainly going to be your bottleneck) to accomany a blog post. It's pretty self-explanatory.

View on GitHub
GitHub Stars4
CategoryCustomer
Updated3y ago
Forks0

Languages

C

Security Score

55/100

Audited on Oct 14, 2022

No findings