What is the use of safe eject USB?

Source: Internet
Author: User

When a "device is in use" prompt appears when a U disk is ejected, it is usually due to a program using a file in that device. We need to close the program or window that is using U disk data, and then try to eject the U disk. But also sometimes you will be tired of waiting for too long, or repeatedly cancel occupy unsuccessful, and the USB device directly out, security pop-up USB what is the use of the following, let's take a look at it.

Long ago, the operating system used to think of disk as a trusted object that had been around. Read or write to the file, the operating system feel that the files on the disk can still be accessed, not midway through the sudden flash of a person. When you open a file on a disk in your computer, the reader will want to go back to the disk and read on. When you modify a file, the Write command is transferred to a subroutine, and the operating system's main program will even forget about it. When you suddenly unplug the disk without warning, the subroutine is being invoked, the main program is gone, the data may not be written to disk, and it is permanently lost.

Once upon a time, the computer also has "mount" (install) and "Unmount" (uninstall) storage media (storage media, such as U disk, SD card, mobile hard disk, etc.) formal process. When the program that installs the disk parts pops out, it triggers some mechanical switches to check if the media is really there. Once the mechanical switch says OK, the software can start using the medium. Some media still have mechanical interlock to prevent themselves from being ejected and deleted until the software is successfully unlocked.

The Apple Macintosh floppy disk and CD-ROM are a close example of a mechanical interlock installation. You can only eject the media with a command from one software, but if some programs are taking up the media, the commands will be ignored.

If you switch to USB interface, USB has no mechanical interlock, and will not test the presence of the media. Users can bypass the operating system, casually pull out the U disk, so that the computer is still reading and writing in a variety of subroutines to frighten: "Rely on! Labor is using it!"

Therefore, the security eject USB, actually still do a few things:

1 It will run through all the activities written to disk.

2 It will remind/warn all programs, the disk to flash people, what to do hurriedly to do.

3 It will remind the user when the program is indifferent, the file is still occupied by the system.

You can unplug the U disk at any time, but you should understand the helter-skelter of the program at this time.

Now the computer has taken a variety of measures to combat this capricious "U disk suddenly flash people" incident. For example, Windows has even introduced a feature called "Optimize for quick removal" (Quick Delete optimization) to ensure that the data is written more quickly, rather than waiting for a batch to be processed.

But everyone's habits have been hard to change. If you're just concentrating on what's on the disk, it's not necessary to eject safely. If you are writing, unless you are in the very second to do the search disk such things, as long as the time has not been written, you can directly pull the U disk.

However, a safe eject still does a lot of work, and is the only way to ensure that disk security is removed. Most of the time, you may not need it at all, but in order not to let some important data be permanently lost, you should do it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.