Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/bash
  2. # bs=file size
  3. # count=number of tries
  4. # if=input file
  5. # of=output file
  6. # conv='sync' (macos) / 'fadatasync' (linux) wait for I/O-Cache to write data on disk
  7. dd bs=${bs:-1024} count=${count:-256} if=/dev/zero of=dd_zero_file conv=sync && rm dd_zero_file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement