Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 02:31:41 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        francisv@dagupan.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Creating 5GB files
Message-ID:  <20011119023141.O69555@blossom.cjclark.org>
In-Reply-To: <10F29E27A956D511B0940050DA8D86A9340B9F@apmail.dagupan.com>; from francisv@dagupan.com on Mon, Nov 19, 2001 at 05:50:44PM %2B0800
References:  <10F29E27A956D511B0940050DA8D86A9340B9F@apmail.dagupan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 19, 2001 at 05:50:44PM +0800, francisv@dagupan.com wrote:
> Hi,
> 
> What's the 'right' way to create 5GB files using 'dd'? I'll be mounting the
> file as a virtual disk.

  # dd if=/dev/zero of=/your/path/here bs=1m count=5120

Would seem to work fine?
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011119023141.O69555>