According to the Debian installation manual, section 4.3, the hybrid installation ISO image can be easily copied on a USB key this way:
# cp debian.iso /dev/sdX
# sync
But according to my previous question about sync
, it looks like it only works to flush file system buffers.
Then, why would sync
work in the above command which does not involve a file system?
blockdev --flushbufs /dev/sdX
ifsync
"doesn't matter"? And how can you know that "what you are doing does not involve caching"? (or buffering for instance) – Totor Feb 21 '14 at 23:06cp
andsync
in their systems that blockdev. – Braiam Feb 21 '14 at 23:14sync
is useless anyway here, right? – Totor Feb 21 '14 at 23:19