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

Bug#738864: Remove copy operation for parted3 transition



On Thu, Feb 13, 2014 at 09:08:32PM +0400, Michael Tokarev wrote:
> Out of curiocity, why libparted is needed to copy a partition
> into some other place?  How about
> 
>   dd if=/dev/source-partition of=/dev/dest-partition
> 
> ?
> 
> (Well, with proper options, maybe with iflag=direct etc, but that's
> details).

I suspect parted has filesystem knowledge and can copy between partitions
of different sizes as long as the data fits.  dd doesn't know anything.

-- 
Len Sorensen


Reply to: