Discussion about this post

User's avatar
Mahmoud kamal's avatar

Hi everyone, I have tried the step3 test case and it produces another output (64 zeros then 64 B),

So there’s no zeros after the Bs.

That’s because dd’s default behavior is to truncate the file before writing and because seek is there it just puts 64 zeros first before the Bs

To achieve the same output we need to specify conv=notrunc this should produce the expected output

Tanveer Salim's avatar

dd is an important cloning tool. Thanks for the challenge idea.

No posts

Ready for more?