Vulnerability Development mailing list archives

Re: dumb idea(s) (tm)


From: "Crist Clark" <crist.clark () globalstar com>
Date: Mon, 02 Jul 2001 10:56:00 -0700

matias wrote:

On Fri, 29 Jun 2001, Crist Clark wrote:

mother:/tmp$ touch bighonkin.file
mother:/tmp$ ls -l bighonkin.file
-rw-r-----   1 s0t4ipv6 users           0 Jul  2 10:53 bighonkin.file
mother:/tmp$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2              1984044   1606720    274912  85% /
/dev/hdb1              2371820   1456960    794376  65% /opt
mother:/tmp$ dd if=/dev/zero of=bighonkin.file count=1 seek=1000m
dd: invalid number `1000m'
mother:/tmp$

any idea? my system is slackware 7.0.

Your dd(1) does not understand 'm' to mean Megabytes. Just do,

  $ dd if=/dev/zero of=bighonkin.file count=1 seek=2048000

For the same effect. 2048 blocks == 1 MB.
-- 
Crist J. Clark                                Network Security Engineer
crist.clark () globalstar com                    Globalstar, L.P.
(408) 933-4387                                FAX: (408) 933-4926

The information contained in this e-mail message is confidential,
intended only for the use of the individual or entity named above.  If
the reader of this e-mail is not the intended recipient, or the employee
or agent responsible to deliver it to the intended recipient, you are
hereby notified that any review, dissemination, distribution or copying
of this communication is strictly prohibited.  If you have received this
e-mail in error, please contact postmaster () globalstar com


Current thread: