當電腦處於睡眠狀態時,卸下usb驅動器是否安全?

我們都聽到過這樣的警告:當我們使用完USB裝置後,要安全地將其卸下,但如果作業系統被掛起,而您決定只需在當時或那裡拔下USB裝置,那該怎麼辦?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

當電腦處於睡眠狀態時,卸下u**驅動器是否安全?

我們都聽到過這樣的警告:當我們使用完USB裝置後,要安全地將其卸下,但如果作業系統被掛起,而您決定只需在當時或那裡拔下USB裝置,那該怎麼辦?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

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

問題

超級使用者讀者IQAndreas想知道在計算機掛起時刪除USB媒體是否安全:

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.)

當計算機掛起時刪除USB介質安全嗎?

答案

超級使用者貢獻者kinokijuf為我們提供了答案:

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 c***istent 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.


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

圖片來源:Ambuj Saxena(Flickr)

  • 發表於 2021-04-08 13:29
  • 閱讀 ( 31 )
  • 分類:網際網路

你可能感興趣的文章

usb埠不工作?如何診斷和解決問題

你的電腦或膝上型電腦的USB埠停止工作了嗎?要解決這個問題,您需要診斷問題的根源。這裡的一切你需要知道快速讓你的USB埠再次工作。 ...

  • 發佈於 2021-03-11 11:20
  • 閲讀 ( 50 )

你應該刪除hiberfil.sys公司windows 10中的檔案?

當你在電腦上掃描大檔案時,你幾乎肯定會遇到hiberfil.sys公司. 這個Windows檔案負責處理計算機休眠,但是休眠到底是為了什麼呢?你需要這個檔案,還是應該刪除hiberfil.sys公司為了節省空間? ...

  • 發佈於 2021-03-12 07:27
  • 閲讀 ( 49 )

鎖定windows pc的6種最佳方法

...amp;gt;“登入選項”。在“需要登入”下,確保選擇了“當電腦從睡眠中喚醒”。這將使您的計算機在離開睡眠模式時要求輸入密碼。 ...

  • 發佈於 2021-03-15 06:46
  • 閲讀 ( 40 )

如何修復windows 10睡眠模式問題

讓你的電腦進入睡眠狀態是一個很好的節能方法,同時確保你可以恢復而不浪費電力。但是,如果你的電腦一直在喚醒或自動進入睡眠狀態,你能做些什麼呢?有這麼多因素在起作用,這可能是一個很難診斷的問題。 ...

  • 發佈於 2021-03-18 05:10
  • 閲讀 ( 49 )

如何安全地清理受感染的計算機並複製檔案

...種情況下,資料丟失的可能性非常大。你需要一臺乾淨的電腦,但不想丟失你的重要檔案。 ...

  • 發佈於 2021-03-19 09:07
  • 閲讀 ( 46 )

windows 10無法啟動?12個補丁讓你的電腦重新執行

很少有電腦問題像一臺拒絕開機的電腦那樣令人沮喪。當您的系統甚至無法初始化時,很難找到問題的根源。 ...

  • 發佈於 2021-03-24 07:33
  • 閲讀 ( 59 )

如何在Windows10上安全刪除驅動器

...大多數人只需拔掉它。但根據您機器的設定,通常最好在卸下驅動器之前告訴Windows,以儘量減少資料丟失的可能性。下面是方法。 什麼時候拔下u**驅動器才安全? 預設情況下,你可以透過簡單地拔掉它從windows10機器上安全地...

  • 發佈於 2021-04-01 18:47
  • 閲讀 ( 33 )

如何在windows10上不再“安全地移除”usb驅動器

...不完整,或者可能會保留為損壞的檔案。 因此,在你從電腦上拔下任何USB驅動器之前,請確保所有檔案都已完成複製或儲存。 當然,有時很難知道你的電腦是否正在寫入驅動器。後臺程序可能正在寫入,或者程式可能正在自動...

  • 發佈於 2021-04-01 18:49
  • 閲讀 ( 43 )

如果我的電腦處於睡眠模式,windows 10會更新嗎?

...間”,這樣Windows10就不會在不方便的時候安裝更新。如果電腦處於休眠狀態,Windows 10會更新嗎?從技術上說,沒有。 windows 10喚醒正在睡眠的pc進行更新 當你的Windows10PC進入睡眠模式時,它會儲存當前的系統狀態並將這些資訊...

  • 發佈於 2021-04-03 00:00
  • 閲讀 ( 94 )

如何在windows10上最佳化usb儲存以獲得更好的效能

...體驅動器更改此選項,則每當您將同一個USB驅動器**當前電腦時,都會使用此選項。如果您將不同的USB驅動器**當前電腦或將USB驅動器帶到另一臺電腦,則不會記住此選項。 首先,確保已將外部儲存裝置連線到PC。然後可以從磁...

  • 發佈於 2021-04-03 17:07
  • 閲讀 ( 42 )
yseoszcrodof
yseoszcrodof

0 篇文章

作家榜

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

相關推薦