Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 15:59:00 +0300
From:      Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru>
To:        Jerry McAllister <jerrymc@clunix.cl.msu.edu>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: Using int 13 while BSD is running
Message-ID:  <20040311155900.6c5ea1eb@Hal.localdomain>
In-Reply-To: <200403101614.i2AGE3b08293@clunix.cl.msu.edu>
References:  <20040310081200.51b84ef1@Hal.localdomain> <200403101614.i2AGE3b08293@clunix.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__11_Mar_2004_15_59_00_+0300_qqdjtbb0KpBmIL1.
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 10 Mar 2004 11:14:03 -0500 (EST)
Jerry McAllister <jerrymc@clunix.cl.msu.edu> probably wrote:

> Gee whiz, just let dd(1) do it for you.   It can seek to any position
> and read any number of bytes of a disk.

That's what I meant by `shellscript':).

> If it gets ornery, set the
> block size to 1 byte - a little slow and inefficient, but then it won't
> have trouble with other block arrangements.

The minimum blocksize is 512 bytes (at least on ATA drives; 2048 on
data CDROMS). You get an `invalid argument' error if you try using a
size which is not a multiple of 512. But after dd'ing, you can use
head(1)/tail(1) to get only the necessary info, right to the single
byte.

-- 
DoubleF
My mother loved children -- she would have given anything if I had been
one.
		-- Groucho Marx

--Signature=_Thu__11_Mar_2004_15_59_00_+0300_qqdjtbb0KpBmIL1.
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAUGKgwo7hT/9lVdwRAq8NAJ40S262UhMffg25Cts4KtiKbHoVogCfQWZe
3RXurY5HOUvHbcsSKJtZvsM=
=cya7
-----END PGP SIGNATURE-----

--Signature=_Thu__11_Mar_2004_15_59_00_+0300_qqdjtbb0KpBmIL1.--



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