[vox-tech] Calculating partition sizes

Micah J. Cowan vox-tech@lists.lugod.org
Wed, 14 May 2003 09:58:15 -0700


On Tue, May 13, 2003 at 07:51:02PM -0400, Mike Simons wrote:
> 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 it).
> > 
> > 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.

Wouldn't hda3 be the *Fourth* partition? (what's hda0?)

-Micah