Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 23:00:42 -0400
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        Fernando Gleiser <fgleiser@cactus.fi.uba.ar>, The Almonds <cjalmond@yahoo.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How to create files of certain size using dd?
Message-ID:  <01082123004201.03702@i8k.babbleon.org>
In-Reply-To: <20010821115838.J42431-100000@cactus.fi.uba.ar>
References:  <20010821115838.J42431-100000@cactus.fi.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)

--------------------> Free Dmitry Sklyarov! <-------------------------

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?01082123004201.03702>