Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-244356-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244356

--- 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' =
=3D
0x31. It would be feasible to write a bit of C code which writes out an arr=
ay
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 byte=
s 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=3Dfile of=3D/dev/daX
count=3D128000.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244356-19105-CwbAMZwWBP>