From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 16 16:06:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D45F9106566C for ; Sat, 16 Jun 2012 16:06:45 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 40FA48FC14 for ; Sat, 16 Jun 2012 16:06:45 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5GG6Qnk041368; Sat, 16 Jun 2012 18:06:26 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5GG6QbH041365; Sat, 16 Jun 2012 18:06:26 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 16 Jun 2012 18:06:26 +0200 (CEST) From: Wojciech Puchar To: Pieter de Goeje In-Reply-To: <201206161459.20596.pieter@degoeje.nl> Message-ID: References: <4FD94240.6060806@delphij.net> <201206161459.20596.pieter@degoeje.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 16 Jun 2012 18:06:26 +0200 (CEST) Cc: freebsd-hackers@freebsd.org, d@delphij.net Subject: Re: BIO_DELETE equivalent for file on FFS filesystem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 16:06:45 -0000 >> >> i could write simple program to find out what blocks are unused and >> then...do nothing. > > Actually you can. Use dd if=infile of=outfile conv=sparse to convert a file to a > sparse file. This obviously only works on filesystems supporting sparse files, > such as UFS. of course i can by copying. not really what i want > > Regards, > Pieter > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >