https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244356

--- Comment #78 from Gary Jennejohn <gljennj...@gmail.com> ---
(In reply to vidwer+fbsdbugs from comment #77)
This is an interesting idea.  Unfortunately. "yes 1" produces an ASCII '1' =
0x31. It would be feasible to write a bit of C code which writes out an array
of 0xff (all 1s) to a file and then use dd to overwrite the USB stick with that
file. That would be fairly simple.  If the file were exactly 1 million bytes in
size then it would be simple to figure out what count would be since
manufacturers size things in GB, which is 1000 times one million.  So for
example with a 128GB stick the command would be dd if=file of=/dev/daX
count=128000.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to