Date: Wed, 23 Jun 2010 15:26:44 +0200 From: Pieter de Goeje <pdegoeje@service2media.com> To: freebsd-questions@freebsd.org Cc: Vincent Hoffman <vince@unsane.co.uk> Subject: Re: sparse image Message-ID: <201006231526.44300.pdegoeje@service2media.com> In-Reply-To: <4C21E7F8.2050802@unsane.co.uk> References: <4C21E163.70003@comclark.com> <4C21E7F8.2050802@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 June 2010 12:54:48 Vincent Hoffman wrote: > On 23/06/2010 11:26, Aiza wrote: > > Is there an equivalent of the MAC sparseimage on FreeBSD? > > If you mean you would like to make a sparse file and attach it using > mdconfg then > dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0 > This will give you a sparse file that reports a gig in size, but only > uses whats actually in use. Note that "truncate -s 1G file" will do the same with IMHO easier syntax. - Pieter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006231526.44300.pdegoeje>