LABEL's

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Aug 31 13:39:25 UTC 2007


Timothy Murphy wrote:
> Jacques B. wrote:
>>  In other words if you dd a 10 gig drive onto a 30 gig drive, you will
>> have what appears to be a 10 gig drive.  The remaining 20 gigs will be
>> unused.
> 
> I understand the theory.
> But in my (very limited) experience, the conflicting information
> on the system may cause confusion.
> What for example does fdisk say?
> The MBR presumably will think you have a 30 gig drive.
> 
It depends on how you do it - if you copy an entire drive, including
the partition table, then it will look like a 10 gig drive.
dd if=/dev/hda of=/dev/hdb

But if you copy just the partition, then fdisk will show 30 gig, but
you will only have the superblocks, FAT, etc of a 10 gig file
system, so that is all you will be able to access.
dd if=/dev/hda1 of=/dev/hdb1

But if you use a tool that knows about file systems to copy the
partition, then the file system will be adjusted to use the entire
partition. Depending on the condition of the file system, you may
also be able to copy a larger partition to a smaller one.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070831/46e1239b/attachment-0002.bin 


More information about the users mailing list