確切地說,為什麼您需要安全地彈出usb介質?

當你不安全地彈出USB媒體時,Windows會很生氣,但這真的有關係嗎?如果您從未安全地彈出USB驅動器和其他基於快閃記憶體的媒體,最糟糕的情況是什麼?...

確切地說,為什麼您需要安全地彈出u**介質?

當你不安全地彈出USB媒體時,Windows會很生氣,但這真的有關係嗎?如果您從未安全地彈出USB驅動器和其他基於快閃記憶體的媒體,最糟糕的情況是什麼?

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

問題

超級使用者讀者西蒙真的很好奇,如果他從來沒有安全地彈出他的媒體,命運會降臨到他身上:

Quite often when I’m in a rush, I automatically pull out a USB pendrive or USB cable from an external hard drive from my desktop PC or laptop, without right-clicking on the safely remove icon in the system tray and unplugging via this route. So far nothing untoward has happened every time I have “been in a rush”.

What is the rationale behind right clicking on the safely remove icon and can I really lose information on USB media if this is not carried out ?

Is the [probability] of losing such information greatly increased, if the USB media is still flashing at the time of pulling it out of the computer (as opposed to non-flashing) ?

西蒙賭了多少錢?

答案

超級使用者貢獻者Dave Rook解釋道:

Yes it can, it’s about what happens if you remove the device when it’s in use (reading or writing):

When you plug in a USB drive, you give your PC free rein to write and read data from it; some of which is cached.

Caching occurs by not writing information immediately to the USB device, and instead keeping it in your PC’s memory (RAM). If you were to yank the USB drive out of your PC before this information is written, or while its being written, you’ll end up with a corrupted file.

However, Windows automatically disables caching on USB devices, unless you specifically say that you want it enabled. For the most part you don’t have to click the ‘Safely Remove Hardware’ button, if you aren’t writing or reading anything from the device.

Its there simply as an extra level of security preventing you from destroying your own files.

Doing so causes the files to close “gracefully”, preserving data, pointers and file size indicators. When writing to disk the computer doesn’t always “flush” a buffer and only part of the data may have been written. Using the proper procedure will assure that the data and pointers are in good shape.

Source

MSalters提供了一個清醒的見解:

A second reason is that flash drives need to have stable power for ~0.25 seconds after a write command. This is a fundamental physical problem, due random factors some writes may leave a logical 1 bit in a electrical 0.72 state. The fix is easy: just rewrite the bit, perhaps even a few times. Eventually it will stick.

If you’re really unlucky, the bit falling over will be in a filesystem table and corrupt e.g. an entire directory.

換句話說,不值得賭博哪一位可能或不被損壞:它可能是可移植應用程式快取中的臨時檔案,或者可能是MSALTER指出的關鍵系統檔案。

有關安全媒體彈出的更多資訊,請檢視:HTG解釋:您真的需要安全地移除USB棒嗎?


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-11 15:42
  • 閱讀 ( 22 )
  • 分類:網際網路

你可能感興趣的文章

在每次windows 10更新或安裝之前執行此操作

... 公平地說,系統還原可能會佔用大量磁碟空間(每個還原點最多數百MB),因此在沒有太多可用空間的系統上禁用它可能是有意義的。但是,我們建議在每次更新之前建立一個...

  • 發佈於 2021-03-12 17:08
  • 閲讀 ( 48 )

如何從windows xp升級到windows 7或10

... 你覺得升級過程怎麼樣?你為什麼在WindowsXP上呆了這麼久? ...

  • 發佈於 2021-03-16 12:22
  • 閲讀 ( 48 )

如何從可引導usb驅動器安裝windows 10

... 為什麼要從u**啟動windows安裝? ...

  • 發佈於 2021-03-18 00:37
  • 閲讀 ( 52 )

如何在Windows10上使用快閃記憶體驅動器

...把你的快閃記憶體驅動器放在那裡,別人看到了它,沒有什麼可以阻止他們訪問它的內容。有很多知名人士丟失了敏感的隨身碟——不要加入他們! ...

  • 發佈於 2021-03-20 06:43
  • 閲讀 ( 52 )

Windows10現在允許您快速刪除硬體

...取磁碟寫入操作”,這“可能會降低系統性能”。所以你需要在更好的效能和快速移除USB裝置之間做出選擇。 ...

  • 發佈於 2021-03-21 08:51
  • 閲讀 ( 28 )

編輯引導的3種方法/配置.txt關於樹莓皮的檔案

... 為什麼你需要配置.txt覆盆子皮 ...

  • 發佈於 2021-03-23 21:23
  • 閲讀 ( 49 )

在目標磁碟模式下啟動mac以快速傳輸檔案

...於使用中間介質(如外部硬碟)在計算機之間傳輸檔案,為什麼不改用目標磁碟模式呢?無需從Mac複製到USB卷,然後從USB卷複製到目的地—只需從Mac複製到Mac。 ...

  • 發佈於 2021-03-24 14:45
  • 閲讀 ( 61 )

從你的電腦或網路中竊取資料的5種方法

...全安全的,這可能意味著有漏洞,你只是不知道。這就是為什麼重要的是要知道以下方式的資料可以從您的電腦或網路驅動器被盜。 ...

  • 發佈於 2021-03-25 08:04
  • 閲讀 ( 51 )

外接硬碟沒有出現在mac上?下面是如何修復它

... 在某些情況下,您可能會發現無法恢復驅動器。這就是為什麼3-2-1備份規則如此重要。 ...

  • 發佈於 2021-03-25 08:24
  • 閲讀 ( 51 )

海底電纜是什麼?它們為什麼重要?

... 這是因為這不完全是你家的Wi-Fi的錯。更確切地說,這是一條海底長電纜,有一個問題,稱為海底電纜。 ...

  • 發佈於 2021-03-29 06:31
  • 閲讀 ( 50 )
abc鍵
abc鍵

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦