[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE file copy to usb device without file cache



Hi,

Serkan KURT wrote:
> How can i a file copy to usb device without file cache?
> KDE notifier shows copy completed but actually copy process does not
> finished.

After the GUI programs reported success, execute command "sync"
in a shell and wait until it is done.


If you really want to write unbuffered:
There is an i/o mode named "Direct I/O", which is not well-deemed
by the kernel developers. Your mileage may vary.
Program "dd" has an option "oflag=direct".
C function open(2) has flag O_DIRECT. 


Have a nice day :)

Thomas


Reply to: