Kas arvuti USB-draivide eemaldamise korral on arvuti turvaline?

Sisukord:

Kas arvuti USB-draivide eemaldamise korral on arvuti turvaline?
Kas arvuti USB-draivide eemaldamise korral on arvuti turvaline?

Video: Kas arvuti USB-draivide eemaldamise korral on arvuti turvaline?

Video: Kas arvuti USB-draivide eemaldamise korral on arvuti turvaline?
Video: Configure an Enterprise Switch via a serial console port using Putty - YouTube 2024, Aprill
Anonim
Me kõik oleme kuulnud USB-seadmete ohutu eemaldamise juurest, kui oleme nendega lõpetanud, kuid mis siis, kui operatsioonisüsteem on peatatud, ja otsustate USB-seadme lihtsalt lihtsalt ja täielikult lahti ühendada? Tänane SuperUseri Q & A postitus on vastuseks uudishimulikule lugeja küsimusele.
Me kõik oleme kuulnud USB-seadmete ohutu eemaldamise juurest, kui oleme nendega lõpetanud, kuid mis siis, kui operatsioonisüsteem on peatatud, ja otsustate USB-seadme lihtsalt lihtsalt ja täielikult lahti ühendada? Tänane SuperUseri Q & A postitus on vastuseks uudishimulikule lugeja küsimusele.

Tänane küsimuste ja vastuste seanss jõuab meile viisakalt SuperUserini - Stack Exchange'i ja kogukonnapõhiste Q & A veebisaitide rühmitusse.

Küsimus

SuperUser-lugeja IQAndreas soovib teada, kas arvuti USB-mäluseadmel on USB-kandjad turvaliselt eemaldatud:

We are often cautioned against unplugging USB drives in case they are currently being read from or written to. When a computer is suspended, hibernated, or asleep, it is obviously not writing any data. It may have been in the middle of a read or write operation, however, and it will have put such an operation on hold.

Since no arms are moving (for USB hard drives), or bytes on the drive flickering on and off (for flash drives), is it then “safe” to unplug the drive in question?

Is this true even if data was being written to it, but the operation was temporarily suspended? (Assuming you do not mind that specific file having been only half-written to the USB drive.)

Kas arvuti USB-mäluseadme väljalülitamine on turvaline?

Vastus

SuperUseri panustaja kinokijuf vastab meile:

While there are indeed no transfers going on, the reason you do the Safely Remove Hardware dance is not because of the transfers. You are doing this to cleanly unmount the file system. Programs may still be using the USB drive and some files may still be unwritten to the disk, even after the application using them is closed. This is the same reason why you do not just hibernate and switch operating systems. A mounted file system is never guaranteed to be in a consistent state.

Ever wondered why an operating system slowed down to a crawl when using floppies? It is because the cache was flushed after writing each sector so that the floppy could be removed at any time when not in use.

You will still get a dialog pop-up and your program will hang if you try to access a floppy that was removed behind your back. Just insert the floppy back and be done. This will not work with USB drives because they get a different identifier each time. The program will just crash and the operating system may too if a driver was accessing a file.

Kas teil on seletamiseks midagi lisada? Helistage kommentaarides. Kas soovite lugeda rohkem vastuseid teistelt tech-savvy Stack Exchange'i kasutajatelt? Tutvu täieliku arutelu teemaga siit.

Pilt krediit: Ambuj Saxena (Flickr)

Soovitan: