View Single Post
Old 10-29-2015, 09:51 AM   #37
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by crankypants View Post
On my Samsung Galaxy Tab 4 I can hook a flash drive to the micro USB port, but I don't know how to unhook it via the OS. With unix, if you just pull off the flash drive, it could scramble your data. They sell an angled micro-usb to USB converter for tablets. They are also making USB drives with a micro USB connection too.
Funny, I've never had a problem "just pulling off the flash drive", although I've been exclusively using a linux OS for several years now.

The same problem happens with Windows -- but you may be missing what the problem is.
Writes are buffered, they don't happen immediately.

"Safely Eject", or umount, is nothing more than a way to tell the OS that you are about to remove the device, and to immediately flush the write cache, then detach the device from the OS.

...

Unless you pull the drive immediately after intense writing, you are most likely going to be all right.

...

Just want to point out again, that this has nothing to do with unix.
In fact, Windows will curse you with the dreaded dirty bit any time you remove a drive without ejecting, regardless of whether it was copying files something which unix emphatically doesn't do.
eschwartz is offline   Reply With Quote