https://github.com/stealth/odd
optimized dd
https://github.com/stealth/odd
Last synced: 11 months ago
JSON representation
optimized dd
- Host: GitHub
- URL: https://github.com/stealth/odd
- Owner: stealth
- Created: 2012-06-30T08:16:54.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T18:49:57.000Z (over 7 years ago)
- Last Synced: 2025-04-02T16:53:38.029Z (about 1 year ago)
- Language: C
- Size: 17.6 KB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
odd - optimized dd
==================
Only works on Linux, due to using special system calls, such as
`splice, sendfile or mmap`.
```
$ make
```
Usage
-----
```
$ odd -h
odd -- optimized dd (C) 2011-2017 Sebastian Krahmer
Usage: odd [if=F1] [of=F2] [send|mmap=N MB|cores=N] [bs=N] [skip=N] [count=N]
[quiet] [direct] [nosync]
Switches mimic classical 'dd' behavior. You can choose copy strategies:
'send' uses sendfile(2), 'mmap' copies via mmap(2) in N Megabyte chunks.
Default is using splice(2). You can balance to 'cores' CPU cores
```
You may want to read [this paper](http://stealth.openwall.net/papers/odd.pdf) for measurement
results.