usb无法安全弹出_究竟为什么需要安全弹出USB介质?

usb无法安全弹出

usb无法安全弹出

Windows gets so mad when you don’t safely eject USB media, but does it really matter? What’s the worst that could happen if you never safely ejected your USB drive and other flash-based media?

当您无法安全弹出USB介质时,Windows会发疯,但这真的重要吗? 如果您从不安全弹出USB驱动器和其他基于闪存的媒体,会发生什么最糟糕的情况?

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Simon is really curious what fate might befall him if he never safely ejects his media:

超级用户读者Simon真的很好奇,如果他从不安全地退出媒体,他将面临怎样的命运:

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

我经常在匆忙时自动从台式机或笔记本电脑的外部硬盘驱动器中拔出USB随身碟或USB电缆,而无需右键单击系统托盘中的安全删除图标并通过这种方式拔出。 到目前为止,每次我“匆匆忙忙”时,都没有发生任何不幸的事情。

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 ?

右键单击安全删除图标背后的理由是什么,如果不执行该操作,我真的会丢失USB介质上的信息吗?

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

如果USB介质在从计算机中拉出时仍在闪烁(而不是不闪烁),丢失此类信息的[概率]是否大大提高了?

How much of a gamble is Simon taking?

西蒙要赌多少钱?

答案 (The Answer)

SuperUser contributor Dave Rook explains:

超级用户贡献者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.

插入USB驱动器后,您便可以自由控制PC来读写数据。 其中一些已缓存。

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.

通过不立即将信息写入USB设备,而是将其保留在PC的内存(RAM)中来进行缓存。 如果要在写入此信息之前或在写入此信息时将USB驱动器从PC中拉出,最终将导致文件损坏。

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.

但是,Windows会自动禁用USB设备上的缓存,除非您明确地说要启用它。 在大多数情况下,如果您未从设备中写入或读取任何内容,则无需单击“安全删除硬件”按钮。

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 offers a sobering insight:

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.

第二个原因是,写入命令后,闪存驱动器需要在约0.25秒的时间内保持稳定的电源。 这是一个基本的物理问题,由于随机因素的影响,某些写入操作可能会在逻辑0.72的状态下保留逻辑1位。 修复很容易:只需重写一下,甚至几次。 最终它会粘住。

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

如果您真的不走运,那么丢失的位将在文件系统表中并损坏,例如整个目录。

In other words, it’s not worth gambling with which bit might or might not be corrupted: it might be a temporary file in a portable application’s cache or it might be, as MSalters points out, a critical system file.

换句话说,不值得讨论哪个位可能被损坏或未被损坏:它可能是便携式应用程序缓存中的一个临时文件,或者如MSalters所指出的那样,可能是一个关键的系统文件。

For more information about safe media ejection, check out: HTG Explains: Do You Really Need to Safely Remove USB Sticks?

有关安全弹出媒体的更多信息,请查看: HTG解释:您真的需要安全删除USB记忆棒吗?



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/172931/why-exactly-do-you-need-to-safely-eject-usb-media/

usb无法安全弹出

USB Safely Remove Portable是一款用于毫不费力地快速断开任何可移动设备的工具。它不仅能节省时间,还能确保在拔掉设备时,所有数据都保留在设备上。Safely Remove是一个系统工具,旨在快速和安全地停止连接到您的计算机的USB闪存驱动器。有了这个工具,你可以安全地停止和删除USB闪存驱动器,比使用系统托盘中的 "安全删除硬件 "图标快得多。 顾名思义,USB Safely Remove提供了一个安全的环境,可以从计算机设备中移除USB闪存盘,而在这个过程中不会造成任何损害。它有一套巧妙的功能,超过了Windows提供的默认选项。 一旦启动,USB Safely Remove Portable会在系统托盘区创建一个图标,并自动检测已经连接到电脑的笔式驱动器。 将鼠标光标悬停在这个图标上,可以看到设备名称和占用空间。你可以停用所有的设备或检测新的硬件变化,也可以调出一个窗口来查看所有的设备,包括隐藏的设备。 你可以直接从这个菜单中浏览设备在资源管理器中的位置,在托盘图标对话框中显示选定的设备,以及打开本地 "安全删除硬件 "屏幕。 编辑设备属性可以通过选定项目的上下文菜单完成。你可以改变设备名称和图像,指定一个热键来调用它的停止菜单,以及启用或禁用自动运行。 就程序选项而言,你可以将USB安全删除设置为在系统启动时自动运行,改变界面语言,自定义布局和皮肤,重新配置全局键和通知设置,以及其他。 该应用程序具有出色的响应时间,并能顺利融入操作系统,不会导致其挂起、崩溃或弹出错误对话框。在整个评估过程中,我们没有遇到任何问题。总而言之,USB Safely Remove带来了强大的功能,确保从电脑上拔下笔电时的安全。 更多的便利 通过方便的菜单或热键安全地移除一个设备,从菜单中移除不需要的设备,为设备设置图标或名称。此外,即使你不小心停止了一个设备,你也可以一键恢复它。 保存数据和设备 即使设备不能被安全删除,程序也会显示锁定进程,并允许你强行停止它,这样你就可以避免错误地删除设备。此外,该程序可以关闭Windows Vista/7/10中的设备电源。 自动化和加速工作 在你的脚本中使用命令行工具或一个强大的自动运行管理器来自动备份到外部驱动器,检查病毒和更多的日常任务。 整理盘符 通过自动隐藏未使用的读卡器插槽的字母来清理你的驱动器字母列表,将驱动器字母固定在一个特定的设备上,甚至禁止某些字母分配给外部驱动器用于备份目的或第三方软件。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值