14 Jun 2012 06:48
Re: BIO_DELETE equivalent for file on FFS filesystem
Wojciech Puchar <wojtek <at> wojtek.tensor.gdynia.pl>
2012-06-14 04:48:14 GMT
2012-06-14 04:48:14 GMT
>> 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. _______________________________________________ freebsd-hackers <at> freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"
RSS Feed