Do You Really Need to Eject USB Drives? - GoTechTalk

Tracker

Friday, June 29, 2018

Do You Really Need to Eject USB Drives?

Eject USB Drives


What do you mean eject is not a CD you just pull it out right, well you can do that but in this case eject doesn't mean this, it means to tell your operating system to wrap up whatever it's doing with the USB Drive to prepare it for pulling out so think of it as partially disconnecting the drive it still physically plugged in but your computer can't really talk to it anymore, but hold on a second we didn't have to do anything fancy when we physically ejected CD ROMs back in the prehistoric 1990s so why is there this general conception that ejecting your flash drives is a good idea?

Well the most obvious benefit of ejecting your device first is that it prevents your data from being corrupted, if your system is busy writing something to the drive, if you pull your media out before your computer has finished working with it you might come back later to find that the graduate thesis that you wanted to store on it is now totally unreadable.

So yeah it might seem pretty obvious that you don't want to pull out a thumb drive during a file save operation any more than you would take out a hot pocket for consumption after only one minute in the microwave but, what if you've safely closed whatever it is that you're working on and you just want to grab the drive and get on with your day this is where things get a little bit grey because it partly depends on what operating system you're using and whether you've fiddled with a certain setting, you see windows offers a feature called write caching for removable devices that's designed to improve speed with it turned on any data that you try to transfer to your flash drive is held in a cache in your system memory so instead of forcing a program to wait around for the data transfer to finish windows will instead wait for a more opportune time to do multiple data transfers at once the downside of this speed boost is that it leaves your USB drives much more susceptible to corruption if you be it accidentally or on purpose pull them out without ejecting them first as your PC might show that it's finished copying the data but it might not actually be done, ejecting the drive will command your computer to go ahead and flush anything in the right cache to your drive immediately and it will prompt you when you can actually safely remove it.


The good news is that right caching offers a negligible performance boost in most situations, so in the event that it's not already disabled you can go ahead and turn it off right-clicking the drive in File Explorer  and selecting properties, on Linux and Mac OS it is typically enabled by default though, so make sure that you eject your drives before removing them if you haven't given your soul to Cortana, so then back to the original question yeah that one if you're using Windows and have write caching turned off is it okay to just remove your thumb drive without ejecting it assuming obviously that you're not in the middle of saving something to it the answer is a definite probably however there is the possibility that your OS could still be writing small amounts of data in the background depending on exactly how your programs deal with saved files and I have personally experienced previously working drives ending up with corrupted data on them that I wasn't even using by doing this so while the average Windows user probably doesn't have too much to worry about it is also probably worth taking the extra two seconds to click eject.

Alright, guys, that's the end of the blog, thanks for reading the whole way through if you enjoyed this blog please share it with someone who would be interested and leave a comment, Thanks for reading guys.

No comments:

Post a Comment

close