LWN.net Logo

Punching holes in files

Punching holes in files

Posted Nov 18, 2010 13:53 UTC (Thu) by stefanha (subscriber, #55072)
In reply to: Punching holes in files by Tomasu
Parent article: Punching holes in files

I was asking about the FITRIM ioctl in particular, which I thought might serve a similar purpose. After some more digging, the best explanation seems to be:
http://lwn.net/Articles/397538/

FITRIM will only discard freed blocks in a filesystem. It does not punch new holes in a particular file.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds