[LAD] [OT] bash vs disk activity

Sampo Savolainen v2 at iki.fi
Tue Oct 9 11:02:31 UTC 2007


Quoting Patrick Shirkey <pshirkey at boosthardware.com>:

> For example if I transfer 200mb to a usb disk the copy command takes
> about 30 seconds before it returns and the data takes about 5 minutes
> before it is actually finished being transferred and the device is
> unmountable. 

quick-hack(tm)

(cp -a /xxx /usb_device && sync) &
 
But remember sync flushes _everything_.

 Sampo



More information about the Linux-audio-dev mailing list