Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486518 - sys-block/partclone - Partition cloning tool
Summary: sys-block/partclone - Partition cloning tool
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://partclone.org
Whiteboard:
Keywords: EBUILD
: 641472 (view as bug list)
Depends on: 486514
Blocks:
  Show dependency tree
 
Reported: 2013-09-29 21:31 UTC by Stefan Reimer
Modified: 2022-05-10 19:48 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed Ebuild partclone (partclone-0.2.65.ebuild,2.09 KB, text/plain)
2013-09-29 21:31 UTC, Stefan Reimer
Details
proposed updated ebuild (partclone-0.2.70.ebuild,1.35 KB, text/plain)
2015-01-30 06:31 UTC, Jeremy Drake
Details
proposed updated ebuild, take 2 (partclone-0.2.70-r1.ebuild,1.58 KB, text/plain)
2015-01-30 07:16 UTC, Jeremy Drake
Details
patch for breakage when use_enable passes --disable-foo options to configure (partclone-fix-ac_arg_enable-usage.patch,3.81 KB, patch)
2015-01-30 07:16 UTC, Jeremy Drake
Details | Diff
patch for API change in progsreiserfs, url in comment (partclone-0.2.36-progsreiserfs-0.3.1-1.patch,1.57 KB, patch)
2015-01-30 07:19 UTC, Jeremy Drake
Details | Diff
another API breakage in progsreiserfs, this one I did myself (partclone-0.2.70-progsreiserfs-0.3.1_rc8.patch,850 bytes, patch)
2015-01-30 07:20 UTC, Jeremy Drake
Details | Diff
sys-block/partclone-0.3.17.ebuild (partclone-0.3.17.ebuild,1.06 KB, text/plain)
2021-04-12 21:03 UTC, Kalin KOZHUHAROV
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Reimer 2013-09-29 21:31:13 UTC
Hi,
find attached ebuild for partclone tool.

http://partclone.org

Partclone is a program similar to the well-known backup utility "Partition Image" a.k.a partimage. Partclone provides utilities to save and restore used blocks on a partition and is designed for higher compatibility of the file system by using existing libraries, e.g. e2fslibs is used to read and write the ext2 partition.

Also in my overlay:
http://www.startux.de/gitweb/quarks.git/tree/HEAD:/sys-block/partclone

Open to suggestion ;)

Cheers
Stefan R
Comment 1 Stefan Reimer 2013-09-29 21:31:40 UTC
Created attachment 359760 [details]
Proposed Ebuild partclone
Comment 2 Stefan Reimer 2013-12-26 02:40:54 UTC
Changed dependencies thx to fix to xfsprogs.
Also updated ebuild to latest upstream release.

http://www.startux.de/gitweb/quarks.git/tree/HEAD:/sys-block/partclone

Thx SpanKY ;)
Comment 3 Jeremy Drake 2015-01-30 06:31:32 UTC
Created attachment 395186 [details]
proposed updated ebuild

I cleaned up the ebuild at the url in comment #2, and updated for the latest upstream release.

I'm not really an ebuild expert, though, so please let me know if I missed anything
Comment 4 Jeremy Drake 2015-01-30 06:42:29 UTC
Comment on attachment 395186 [details]
proposed updated ebuild

oops, the configure script of partclone is doing weird things when it gets --disable-foo (it treats either --enable-foo or --disable-foo as enabling foo).

Will upload another patch when i figure it out
Comment 5 Jeremy Drake 2015-01-30 07:16:00 UTC
Created attachment 395188 [details]
proposed updated ebuild, take 2

OK, this one builds, at least for the USE flags I care about (exfat ntfs reiserfs)
Comment 6 Jeremy Drake 2015-01-30 07:16:58 UTC
Created attachment 395190 [details, diff]
patch for breakage when use_enable passes --disable-foo options to configure
Comment 7 Jeremy Drake 2015-01-30 07:19:36 UTC
Created attachment 395192 [details, diff]
patch for API change in progsreiserfs, url in comment

I found this patch via google at
http://linamh.disconnected-by-peer.at/linamh/browser/sys-block/partclone/files/partclone-0.2.36-progsreiserfs-0.3.1-1.patch?rev=ea577defdd55fc399aefa7caba0dbccf8e66258d
Comment 8 Jeremy Drake 2015-01-30 07:20:05 UTC
Created attachment 395194 [details, diff]
another API breakage in progsreiserfs, this one I did myself
Comment 9 Henning Schild 2017-06-10 13:56:04 UTC
Would be nice to see this in portage, maybe try a github pull request.
Comment 10 James Le Cuirot gentoo-dev 2018-01-03 14:46:16 UTC
*** Bug 641472 has been marked as a duplicate of this bug. ***
Comment 11 Stefan Kalis 2019-02-02 12:51:03 UTC
Yes - I think addition to Portage would be good since Partclone gained more users through Clonezilla which is using it as the standard.
Comment 12 Kalin KOZHUHAROV 2021-04-12 21:03:11 UTC
Created attachment 699531 [details]
sys-block/partclone-0.3.17.ebuild

I stumbled upon this ancient bug after I spent some time trying to revive a very old ebuild ...

There are a few patches that I need to review and do some more testing, but here is the initial cut, also available in my pkalin overlay[1]. Once I add a few more of the filesystems and everything is fine, I'll apply to maintain it as a proxy.

[1]  https://github.com/thinrope/pkalin

NOTE: reiserfs/reiser4 and jfs are currently NOT enabled due to compile issues and lack of time.
Comment 13 Stefan Reimer 2021-04-13 07:07:56 UTC
(In reply to Kalin KOZHUHAROV from comment #12)
> Created attachment 699531 [details]
> sys-block/partclone-0.3.17.ebuild
> 
> I stumbled upon this ancient bug after I spent some time trying to revive a
> very old ebuild ...
> 
> There are a few patches that I need to review and do some more testing, but
> here is the initial cut, also available in my pkalin overlay[1]. Once I add
> a few more of the filesystems and everything is fine, I'll apply to maintain
> it as a proxy.
> 
> [1]  https://github.com/thinrope/pkalin
> 
> NOTE: reiserfs/reiser4 and jfs are currently NOT enabled due to compile
> issues and lack of time.

Thx for reviving this! 
I will remove my outdated ebuild as well.

Any chance you can also add the --enable-static USE flag again.
I have been using partclone to install VM images on baremetal via a tftp bootinf into a super tiny tool OS.
Comment 14 Kalin KOZHUHAROV 2021-04-16 21:11:44 UTC
(In reply to Stefan Reimer from comment #13)
> Any chance you can also add the --enable-static USE flag again.
> I have been using partclone to install VM images on baremetal via a tftp
> bootinf into a super tiny tool OS.
>
I am a fan of the USE=static as well and would love to be able to have some digital forensics tools build with it, but it is generally frowned upon in Gentoo since it is not useful/used for the general public. Given the number of dependencies of partrclone, it will be a challenge, but I will put it back at some point, after I check what else are we missing.
Comment 15 Matt Whitlock 2021-04-29 07:37:59 UTC
(In reply to Kalin KOZHUHAROV from comment #12)
> Created attachment 699531 [details]
> sys-block/partclone-0.3.17.ebuild

@Kalin: Why did you drop support for F2FS?