l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 May 13 16:53

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Calculating partition sizes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Calculating partition sizes

On Tue, May 13, 2003 at 03:49:29PM -0700, Mark K. Kim wrote:
> Dear all,
> I'm trying to calculate the exact size of each partition (so I can dd it).
> using cfdisk, I found out the partitions are taking up 156295440 sectors.
> I'm assuming 1 sector is 512 bytes, for a total of 80023265280 bytes.  But
> cfdisk is telling me my HDD's size is 80026361856 bytes.  So there's a
> discrepancy of 3096576 bytes.
> So where's this discrepancy coming from?  How much does MBR take up?  What
> else is using up all that space?

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

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!