Heres what happens windows uses the concept of whats

Info icon This preview shows pages 28–29. Sign up to view the full content.

View Full Document Right Arrow Icon
devicesuch as this E drive right here, before you remove that device from the system you need to stop it.Here's what happens. Windows uses the concept of what's called a delayed write. In order to make the system more efficient, pending disk writes are actually queued up in system RAM and stay thereuntil the storage device isn't busy. When the storage device isn't busy, then those pending write operation are actually executed and the data is written to the disk. This is called flushing the cache.When we move the pending disk writes out of cache and commit them to disk, it's called flushing the cache. Here's the issue. You don't know how long it's going to take for those pending writes to occur. So if I save some data to this E drive right here and then pull it out before those pending disk writeshave been committed to disk, then I'm going to end up with corrupted data. So before you do that, you need to come down here, to your Notification area, locate the Safely Remove Hardware and Eject media button, right-click on it, and then click on the option to eject the storage device. When you do this, Windows will check and see if there are any queued up pending disk writes. And if there are, it will write those, and when that's done, it will tell you, okay, now you can go ahead and remove the device. There's another option for doing that, too, with most removable storage devices. You right-click on the device itself in File Manager and then click the Eject option. Both will do the exact same thing. Now, if I were to come down here right now, right-click, and then select Eject USB Flash Drive, it would actually fail. Why? Because I actually have File Explorer open and I'm looking at the E drive. It's accessing this storage device. Here's a key thing you need to remember. If the storage device is currently busy, it's being accessed by the system in some way, then Windows won't let you eject it. It won't allow you to stop it. Therefore, you need to shut down any program or process that might be accessing that storage device first. For example, when I click Close here to close File Explorer. Now if I come over to my Safely Remove Hardware and Eject media icon, I can click on Eject USB Flash Drive, and now I can remove it from the system. When I did that Windows check to see if there were any pending disk writes, and committed them to disk, and then told me, go ahead and remove the device from the system. So that's one way to load a device driver or a plug and play device. Let Windows take care of it for us. Now, please understand that the Windows driver store, both the drivers that are stored locally on your systemhere and those that are available online from Microsoft site, are by no means all-inclusive. There are many devices that you can connect to your system, plug and play devices that you can connect toyour system that do not have a corresponding driver in Microsoft's driver store.
Image of page 28

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 29
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern