Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for --iseek, --oseek and --count options #34

Open
schwesinger opened this issue Jul 27, 2024 · 1 comment
Open

Support for --iseek, --oseek and --count options #34

schwesinger opened this issue Jul 27, 2024 · 1 comment

Comments

@schwesinger
Copy link

Transferring only parts of a source image to a specific location in a target device (or destination image) is necessary in use cases where individual partitions are to be copied.
To support this, options for specifying the input file offset, the amount of data to be copied as well as the output file offset are needed.

As bmaptool aims to be a dd replacement these options could be named similar to what dd uses, namely:

  • --skip (alias --iseek) for the input file offset
  • --seek (alias --oseek) for the output file offset
  • --count for the amount

This issue condenses the two related issues intel/bmap-tools#9, intel/bmap-tools#24 from the old repo.

@josch
Copy link

josch commented Jul 30, 2024

That feature would also be a solution to my quest for finding a tool that is like dd but is able to create sparse output files: https://superuser.com/questions/1837708/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants