Date: Sun, 24 May 2020 07:53:41 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 244356] Writing to a USB 3.0 stick is very slow Message-ID: <bug-244356-19105-CwbAMZwWBP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-244356-19105@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244356 --- Comment #78 from Gary Jennejohn <gljennjohn@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244356-19105-CwbAMZwWBP>
