“Safely eject USB stick before unplugging it” – This is the normal protocol that you are strongly suggested follow when you wish to unplug your USB stick. This holds true regardless of whether it is on windows or Linux or Mac OS. Why is this protocol a must? Can’t you just unplug your USB stick whenever you want? What is the process behind this protocol? In this article, we try to explore answers to these questions. We shall try to do this in a manner in which anyone can understand the reasons without needing to have a technical background.
Let’s say that you are packing your stuff for vacation in your luggage, and it’s the evening on which you take your flight or train. You have packed everything that you will need in the vacation. Yet, there still remain some critical items that you still need during the time of your packing. They will be the last ones that will be packed into the luggage, and the packing is not complete without them.
Now imagine that someone from your family comes in and says that it is high time you left for the flight / train. Now, as a last-minute activity, you pick up these critical items and then pack them in before you leave.
Had you packed in these critical items much earlier, you would have had to search for them in the luggage, and potentially pack them in and take them out again and again. With such a packing approach, you know that you pack them in at the last moment, where you know you are leaving for sure.
Ejecting Your USB Stick
In a manner similar to our packing example, when we plug in a USB stick into a computer, the device unpacks a bunch of critical items onto the computer that make its functioning easier. This is technically known in the industry as caching. Usually, as the USB stick’s states change in relation to the computer, the information from the cache is updated and written onto the USD stick.
If you choose to unplug the device randomly, you run the risk of unplugging it during a read / write operation, which might lead to corrupted data. On the other hand, if you go through with the protocol and click ‘Safely Eject / Remove’ before unplugging it, the USB stick gets the message first. It then communicates with the computer, and sends programs to look for all the unpacked critical stuff that it left lying around. The programs gather the critical stuff (data) lying around, and then pack them neatly back into the USB stick. At the end of the process, the USB stick says “Bye Bye!” to the computer, and from this point on, the USB stick is ‘ready to depart’ without the risk of data corruption during data read / write operations.
I hope you found this article interesting and useful. If you’d like to get notified when interesting content gets published here, consider subscribing.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-advertisement
1 year
Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent
1 year
Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Cookie
Duration
Description
_gat
1 minute
This cookie is installed by Google Universal Analytics to restrain request rate and thus limit the collection of data on high traffic sites.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Cookie
Duration
Description
__gads
1 year 24 days
The __gads cookie, set by Google, is stored under DoubleClick domain and tracks the number of times users see an advert, measures the success of the campaign and calculates its revenue. This cookie can only be read from the domain they are set on and will not track any data while browsing through other sites.
_ga
2 years
The _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
_ga_R5WSNS3HKS
2 years
This cookie is installed by Google Analytics.
_gat_gtag_UA_131795354_1
1 minute
Set by Google to distinguish users.
_gid
1 day
Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
CONSENT
2 years
YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Cookie
Duration
Description
IDE
1 year 24 days
Google DoubleClick IDE cookies are used to store information about how the user uses the website to present them with relevant ads and according to the user profile.
test_cookie
15 minutes
The test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE
5 months 27 days
A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSC
session
YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devices
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-id
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
Comments