View Single Post
Old 09-30-2023, 08:58 AM   #179
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,016
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by Aleron Ives View Post
I doubt that precaution is necessary. If any files were still open, ejecting would have failed.
Depends on the drive. Some drives might buffer the data and tell the OS it's done, but then keep writing the buffer to media. If you unplug too soon, the data might be in ram (or short term flash) and not written to the final media yet. (And it might need power to complete that.)

If the drive has an activity light and it's still blinking after eject, this is a sure thing.

Also, in linux, unmounting the filesystem and ejecting the drive are separate steps, although both should flush the data. The eject or udisks cli command might only do one of those depending on how you do it, although the gui file manager eject button should do both.

In Windows, it is possible the tray button unmounts the filesystem without flushing the data (although it should finish writing in a few seconds) and the file manager eject button both unmounts the filesystem and ejects the disk.

I know for sure the few times I connect my kobo to a windows system, it doesn't eject the disk when I use the tray button. I don't recall if I've ever tried the file manager eject button -- I will have to try that next time.

Last edited by compurandom; 09-30-2023 at 09:04 AM.
compurandom is offline   Reply With Quote