Date: Thu, 14 Jun 2012 06:48:14 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: d@delphij.net Cc: freebsd-hackers@freebsd.org Subject: Re: BIO_DELETE equivalent for file on FFS filesystem Message-ID: <alpine.BSF.2.00.1206140647080.72545@wojtek.tensor.gdynia.pl> In-Reply-To: <4FD94240.6060806@delphij.net> References: <alpine.BSF.2.00.1205261704590.70782@wojtek.tensor.gdynia.pl> <4FD94240.6060806@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>> file to take 900MB or... can i call some system function to "punch" >> holes? > > I think you can only truncate the file at this time, pretty much like > brk() works for memory. BAD. suppose i keep windoze VM image on filesystem which takes 10GB but uses 5GB. i could write simple program to find out what blocks are unused and then...do nothing.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1206140647080.72545>