Date: Wed, 22 Aug 2001 06:13:36 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Brian T.Schellenberger" <bts@babbleon.org> Cc: Fernando Gleiser <fgleiser@cactus.fi.uba.ar>, The Almonds <cjalmond@yahoo.com>, freebsd-questions@FreeBSD.ORG Subject: Re: How to create files of certain size using dd? Message-ID: <20010822061336.A826@hades.hell.gr> In-Reply-To: <01082123004201.03702@i8k.babbleon.org>; from bts@babbleon.org on Tue, Aug 21, 2001 at 11:00:42PM -0400 References: <20010821115838.J42431-100000@cactus.fi.uba.ar> <01082123004201.03702@i8k.babbleon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Brian T.Schellenberger <bts@babbleon.org> Subject: Re: How to create files of certain size using dd? Date: Tue, Aug 21, 2001 at 11:00:42PM -0400 > On Tuesday 21 August 2001 10:59, Fernando Gleiser wrote: > > On Tue, 21 Aug 2001, The Almonds wrote: > > > All, > > > > > > Does anyone have an example using DD on how to create > > > a junk file that is 1MB in size? > > > > dd if=/dev/zero of=file bs=1024k count=1 > > he meant > > dd if=/dev/zero of=file bs=1024k count=1024 > > of course. No, he meant bs=1024k (1M) count=1. What you suggest creates a file of (1024 * 1024) * 1024 bytes which is 1 Gb and not 1 Mb. -giorgos 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?20010822061336.A826>
