[vox-tech] Calculating partition sizes
Mike Simons
vox-tech@lists.lugod.org
Tue, 13 May 2003 19:51:02 -0400
--kncZREqT6Wt3NQEl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, May 13, 2003 at 04:32:22PM -0700, Micah J. Cowan wrote:
> On Tue, May 13, 2003 at 03:49:29PM -0700, Mark K. Kim wrote:
> > I'm trying to calculate the exact size of each partition (so I can dd i=
t).
>=20
> I could be wrong, but can't you just dd 'em without specifying the
> size? won't e.g. /dev/hda2 EOF when it reaches the end of the 3rd
> partition?
Micah,
Yes, you can just dd the partition... and it will stop with EOF.
However, it will stop at the last block of hda2 not at the end of hda3.
I imagine Mark is trying to make sure he has enough space someplace.
--=20
GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56 8109 E10C 249F B7FA ACBE
--kncZREqT6Wt3NQEl
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+wYTm4Qwkn7f6rL4RAjhlAJ9OPlqmNI7bybiM3FHuiH5krV1rWgCfaVh+
R7pHAcJeEC9s+OWHWawEd4k=
=5xi9
-----END PGP SIGNATURE-----
--kncZREqT6Wt3NQEl--