Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 16:39:28 +0200
From:      Ben RUBSON <ben.rubson@gmail.com>
To:        Freebsd fs <freebsd-fs@freebsd.org>
Subject:   How to create holes in files ?
Message-ID:  <44E32501-4213-4A09-992C-92DB4EF33C0C@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to make holes in files in C.
Goal is to deallocate huge files on ZFS while (randomly) reading them.

The only thing I found is on Linux, fallocate(2) with FALLOC_FL_PUNCH_HOLE.

What about FreeBSD ?

Thank you very much !

Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44E32501-4213-4A09-992C-92DB4EF33C0C>