2024 Autor: Peter John Melton | [email protected]. Naposledy změněno: 2023-12-16 04:45
Dnešní zasedání o otázkách a odpovědích se k nám dostalo s laskavým svolením SuperUser , který rozděluje Stack Exchange, komunitu řízené seskupování webových stránek Otázky a odpovědi.
Otázka
Čtenář SuperUser Simon je opravdu zvědavý, jaký osud by ho mohl zasáhnout, kdyby jeho média nikdy bezpečně nevydávala:
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) ?
Kolik hraje Simon?
Odpověď
Contributor SuperUser Dave Rook vysvětluje:
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 nabízí střízlivý pohled:
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.
Jinými slovy, nestojí za to, že by bit mohl nebo nemusí být poškozen: může to být dočasný soubor v mezipaměti přenosné aplikace nebo by mohl být, jak zdůrazňuje MSalters, kritický systémový soubor.
Další informace o vyloučení bezpečných médií: HTG vysvětluje: Opravdu potřebujete bezpečně odebrat USB karty?
Musíte něco přidat k vysvětlení? Vypadněte v komentářích. Chcete se dozvědět více odpovědí od ostatních uživatelů technologie Stack Exchange? Podívejte se na celý diskusní příspěvek zde.
Doporučuje:
Potřebujete "vysunout" zařízení MTP připojená k systému Windows?
Všichni víme, že existuje správná cesta a špatný způsob odpojení velkokapacitních paměťových zařízení USB od našich počítačů, ale platí stejný princip pro zařízení MTP? Dnešní příspěvek SuperUser Q & A má odpověď na otázku zvědavé čtenáře.
Opravdu potřebujete bezpečně odebrat USB flash disky?
Pravděpodobně jste slyšeli, že před odpojením zařízení USB musíte vždy používat ikonu Bezpečně odebrat hardware. Existuje však také velká šance, že jste zařízení USB odpojili bez použití této možnosti a vše fungovalo dobře.
Jak bezpečně vysunout zařízení USB z kontextového menu plochy
Jste-li jedním z těch lidí, kteří bezpečně neodstraňují USB zařízení právě proto, že jste líní, je zde úžasný trik, abyste to udělali z místní nabídky na ploše. I když nejste líní a jen zapomenete, ikona bude sloužit jako duševní připomínka. Tak se podívejme.
USB Disk Ejector: Vysunout disk USB pomocí klávesové zkratky
USB Disk Ejector ke stažení zdarma. Bezpečně odstraňuje, odstraňuje nebo vysune disky USB z počítače Windows 10/8/7 pomocí klávesové zkratky.
Jak bezpečně a bezpečně likvidovat staré počítače
Počítače obsahují data, která mohou být použita proti vám. Tento článek vysvětluje, jak recyklovat nebo likvidovat staré počítače bez strachu z krádeže dat.