Am 10.06.2013 05:18, schrieb Anatol Pomozov:
> "sync" is not a workaround, it is a right solution.

You are wrong.

> Under the hood copying in linux works following way. Every time you read
> something from disk the file information will stay cached in memory region
> called "buffer cache".

That is true - on a mounted file system. Writing directly to a block
device (like /dev/sdb) does not use the buffer cache in any way.

> 3) Call "dd" operation with "conv=fsync" flag, this tells that dd should
> not return until all data is written to the device.

Again, fsync only affects files on a mounted file system, not raw block
devices.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to