On Fri, Jul 23, 2010 at 9:25 PM, Freddie Cash <fjwcash@gmail.com> wrote:
> It's theoretical as I have not investigated how to create sparse files
> on FreeBSD, nor have I done this. It's based on several posts to the
> zfs-discuss mailing list where several people have done this on
> OpenSolaris.
>
Easiest way to create sparse eg 20 GB assuming test.img doesn't exist
already
truncate -s 20g test.img
ls -sk test.img
1 test.img
The other standard dd method works fine too, trucate just makes it easy.
--
Adam Vande More
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"