Monday 26 January 2015

Re: Creating Ubuntu USB sticks

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/22/2015 10:22 AM, Stefan Bader wrote:
> That is the expected behaviour with that incantation. If you added
> a "oflag=sync" dd should return only after write has finished. In
> your case you use cached writes.

oflag=sync is terrible and should never be used as it does the
equivalent of fsync() after every single write(). Not only does this
cause terrible performance, but in the case of flash, will wear it out
much more. Use conv=fsync instead to fsync() once, at the end.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJUxnAFAAoJENRVrw2cjl5RsAoH/j04e1KNeZ/HBaxOH7psm/oB
XkV+yWiEMZD0nGp61YX03z+y/8LCSpIrzFL14bQMoQm5llrJ8cACjZk3wBn1zKfp
XzPKdW02/ve9EjNjo3vdvUj+gApneImodVqsnvIuxJUarkJzTYb7ogXLWNEImgjv
B9UEPXKqKFsiVmyojLhUFKhhUxgIUkB09aqNhir3N+cYs/y79DBsg2n3RF6AKSb2
47TzwIAX4LKNOBUB0XLiUOsmQ5D8HhYxIaXpmtQ7qM+UzUAVponBmBK/Dy4MgsOW
OH132E4vddSHh9se/3YnAj7CfgM+xwftcG1IElMykiKr74pblc3mKHqC5KveO68=
=Xwy4
-----END PGP SIGNATURE-----

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel