Bug 362956 - Copying partition into another partition returns an error
Summary: Copying partition into another partition returns an error
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-11 20:08 UTC by Andrius Štikonas
Modified: 2016-05-19 11:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2016-05-11 20:08:36 UTC
Copying partition into another partition returns an error due to wrong block device

Reproducible: Always

Steps to Reproduce:
1. create partition 1
2. create partition 2
3. copy partition 1 into partition 2.

It tries to copy to /dev/sdb instead of /dev/sdb2

Actual Results:  
File system check fails
Comment 1 Andrius Štikonas 2016-05-19 11:13:17 UTC
Git commit 96eaf6abae7d53bde02316bb550f6b6154456a98 by Andrius Štikonas.
Committed on 19/05/2016 at 11:11.
Pushed by stikonas into branch 'master'.

Fix overwriting partitions.

M  +1    -1    src/ops/copyoperation.cpp

http://commits.kde.org/kpmcore/96eaf6abae7d53bde02316bb550f6b6154456a98