Apakah Ini Aman untuk Hapus USB Drives Ketika Komputer Apakah Tertidur?

Daftar Isi:

Apakah Ini Aman untuk Hapus USB Drives Ketika Komputer Apakah Tertidur?
Apakah Ini Aman untuk Hapus USB Drives Ketika Komputer Apakah Tertidur?

Video: Apakah Ini Aman untuk Hapus USB Drives Ketika Komputer Apakah Tertidur?

Video: Apakah Ini Aman untuk Hapus USB Drives Ketika Komputer Apakah Tertidur?
Video: Cara Me Reset NVRAM Untuk setiap tipe Mac - YouTube 2024, April
Anonim
Kita semua telah mendengar peringatan tentang penghapusan perangkat USB dengan aman ketika kita selesai dengan mereka, tetapi bagaimana jika sistem operasi ditangguhkan dan Anda memutuskan untuk hanya mencabut perangkat USB itu dan di sana? Posting SuperUser Q & A saat ini memiliki jawaban untuk pertanyaan pembaca yang ingin tahu.
Kita semua telah mendengar peringatan tentang penghapusan perangkat USB dengan aman ketika kita selesai dengan mereka, tetapi bagaimana jika sistem operasi ditangguhkan dan Anda memutuskan untuk hanya mencabut perangkat USB itu dan di sana? Posting SuperUser Q & A saat ini memiliki jawaban untuk pertanyaan pembaca yang ingin tahu.

Sesi Tanya & Jawab Hari ini hadir untuk memberi kami SuperUser - subdivisi Stack Exchange, pengelompokan situs web Q & A berbasis komunitas.

Pertanyaan

Pembaca SuperUser IQAndreas ingin tahu apakah aman untuk menghapus media USB saat komputer ditangguhkan:

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

Apakah aman untuk menghapus media USB ketika komputer ditunda?

Jawabannya

Kontributor SuperUser Kinokijuf memiliki jawaban untuk kami:

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.

Memiliki sesuatu untuk ditambahkan ke penjelasan? Bicaralah di komentar. Ingin membaca lebih banyak jawaban dari pengguna Stack Exchange yang paham teknologi lainnya? Lihat diskusi lengkap di sini.

Kredit Gambar: Ambuj Saxena (Flickr)

Direkomendasikan: