Re: LABEL's



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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: Writing File System Driver & Creating Virtual Disk Drive in Windows XP [Question by a Novice
    ... strange partition it should be safe, but having a backup of it would be a ... virtual disk, but this is quite dodgy - if you make a mistake here (and ... He needs a file system. ... ***How to show partitions in windows explorer? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Problems with Ext2fs on a CF card.
    ... I use a Compact Flash card to hold an ext2 Linux File System ... to make the kind of file system you want on each partition e.g. ... If you can't fdisk it then something is up. ...
    (comp.os.linux.embedded)
  • Re: reformating and fdisking help
    ... Fdisk will delete any partition you ... >> tell it too no matter what file system is on that partition. ... technical details usually just confuses them. ...
    (microsoft.public.windowsxp.general)
  • Re: Problems with Ext2fs on a CF card.
    ... | I use a Compact Flash card to hold an ext2 Linux File System ... Have you rebooted since fdisk stored the partition table? ...
    (comp.os.linux.embedded)
  • Re: large disk space problem?
    ... whole drive as one partition), fdisk is one tool that you can use. ... looks like the partition was resized but the file system wasn't. ... I was never too good at figuring out fdisk block counts, ... 156288321 blocks times 512 byte blocks times two ...
    (Fedora)