fallocate()
fallocate()
Posted Mar 22, 2007 11:50 UTC (Thu) by nix (subscriber, #2304)Parent article: fallocate()
FA_DEALLOCATE is probably easier to implement, at least for filesystems supporting sparse files at all.
Posted Mar 22, 2007 21:48 UTC (Thu)
by landley (guest, #6789)
[Link] (2 responses)
http://www.uwsg.iu.edu/hypermail/linux/kernel/0312.0/0889...
Posted Mar 23, 2007 14:37 UTC (Fri)
by nix (subscriber, #2304)
[Link]
Posted Mar 23, 2007 14:50 UTC (Fri)
by k8to (guest, #15413)
[Link]
Punch! Finally!fallocate()
Quite so! punch should really have been in POSIX from the start, except fallocate()
that sparse files were never really in POSIX per se: they were just an
efficiency hack atop seeking, so nobody seems to have thought `hey, what
if we want to make an existing file sparser than it is?'
Just when almost all of the use cases had dried up ;-)fallocate()