Is it necessary to synchronize cached writes to persistent storage with the
sync command when wiping a USB, or any device, with
This is a common practice, i.e.
dd if=/dev/urandom of=/dev/sdx && sync.
But is that really necessary? Is it okay to omit the
Please note this question is not referring to the
conv=sync option of the
dd utility, it refers to
sync as a stand alone command that can also be used apart from
dd. Here is a reference to sync, and
here is a reference to conv=sync. Both are from https://www.kernel.org/doc/man-pages/.