-1

I am using dcfldd to wipe a drive and lear forensics. I don't really want to have to deal with the math of the blocks and sectors, and just want dd or dcfldd to write over every possible bit on the drive or device.

As an example I saw this example on a site, too write ones to a drive

dcfldd pattern="11111111" of=/dev/hda bs=4096 conv=sync,notrunc

Why do you need 8 one's(I assume to make a byte) and what does notrunc mean, as well as the sync option. Also with the bs= option, is bigger always better and faster?

I have read the man page but don't understand the keywords.

1 Answer 1

1

According to the dcfldd man page:

sync: pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs

notrunc: do not truncate the output file

Basically, the man page should be able to answer all your questions.

1
  • Yeah I read the manpage, but have no idea what it means. That's why I was asking.
    – Recursion
    Dec 8, 2009 at 22:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .