Re: LABEL's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux