python-partshift Code
Brought to you by:
anrp
File | Date | Author | Commit |
---|---|---|---|
README.md | 2023-04-28 |
![]() |
[ff57fb] Add readme |
shift.py | 2023-04-28 |
![]() |
[1ee48f] initial |
test.sh | 2023-04-28 |
![]() |
[1ee48f] initial |
Usage:
This python tool shift a partition forward within its own space. It is exceptionally dangerous to use (no checkpointing or recovery) so it should only be used on a UPS (or a laptop) and in combination with a backup.
The program needs to be informed about the original size of the partition; it requires that the partition is an exact multiple of the alignment size (both the original size argument and the actual device size.)
The original size argument accepts a size suffixed by "MiB" or "GiB" for factors.
License: 2 clause BSD