3

I'm new to Ubuntu. I know that windows has a feature that allows you to remove your USB flash drive without having to go to the drive, right click and choosing safely remove. This prevents you from corrupting your files if you quickly unplug your flash.

What I want to know is. Does Ubuntu have a similar feature? can I just unplug my USB devices and my files wont get corrupted or must I always go to the drive right click and chose safely remove?

Thank you.

William
  • 143
  • This is not a duplicate. What Windows calls a "safe remove" is called an "unsafe remove" in any other OS. ;-) – Fabby Dec 02 '14 at 00:14
  • 1
    Yes, it does. There are mount options sync and dirsync for file systems which disable all or some file system caches respectively and should achieve what you have in mind, but I wouldn't bet any important data on the robustness of that “feature” in any OS. It also degrades performance and the life time of flash memory cells. – David Foerster Dec 02 '14 at 01:55
  • @DavidFoerster. look at the answer from the OP below. So I respectfully disagree with you on this, as I gave the OP what he was asking for. Now we can warn him about the disadvantages. ;-) – Fabby Dec 03 '14 at 15:12

2 Answers2

2

Yes there is a way of doing this, but if you're asking the question, you're probably not going to like the answer: Auto-unmount USB drive

Fabby
  • 34,259
  • And now we come to the part why you're not going to like this: The Microsoft way is the convenient way, but you will wear out your USB drive more quickly as the individual cells have a limited amount of writes. Having a cache is actually better, because the life of your USB drive will be larger. Your choice though! >:-) I'm just pointing out that it is possible. – Fabby Dec 03 '14 at 15:19
  • 1
    Thank You. I accepted your answer but it doesn't let me vote it up. I don't have enough reputation – William Dec 24 '14 at 09:09
1

yes it does.
just right click on USB icon in launcher and click safely remove or eject

ubuntu launcher usb icon

Alex Jones
  • 7,982
  • 9
  • 55
  • 94
  • Or pull it into the trash. This will also eject the drive, like on Mac OS X. – s3lph Dec 01 '14 at 18:52
  • @the_Seppi for real or you are kidding me – Alex Jones Dec 01 '14 at 18:57
  • Go on, try it. In 13.04 it worked. I'm not using Unity any more, but I doubt the removed it. – s3lph Dec 01 '14 at 18:58
  • 1
    Sorry Edward, that's not what William is asking... What he's asking is: "Can I just yank it out without unmounting, ejecting or doing anything at all???" which is possible, but much more difficult... ;-) – Fabby Dec 01 '14 at 23:58