Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Eject safely versus unmount?

  1. #1
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,733
    Distro
    Lubuntu 14.04 Trusty Tahr

    Eject safely versus unmount?

    deadflowr posted a nice link that shows how Nautilus offers intelligent options for dealing with devices: http://askubuntu.com/q/5845/

    But what about other file managers? Thunar and PCManFM seem limited in this respect. How can users of these file managers remove devices safely?
    de gustibus et coloribus non est disputandum -- Wiktionary

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Eject safely versus unmount?

    I usually have (at least) one terminal window open, and I prefer unmounting via the command line (and checking with df). But I understand your issue, I think many people rely on ejecting USB drives before unplugging, so it is important that it is safe at least from all the file browsers, that are default in the Ubuntu flavours.

  3. #3
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,733
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Eject safely versus unmount?

    Quote Originally Posted by sudodus View Post
    I usually have (at least) one terminal window open, and I prefer unmounting via the command line (and checking with df). But I understand your issue, I think many people rely on ejecting USB drives before unplugging, so it is important that it is safe at least from all the file browsers, that are default in the Ubuntu flavours.
    Hi sudodus, please see this post: http://askubuntu.com/a/86021

    In it, the poster describes the steps that I think are helpful: first, there should be a sync of data and then the unmount should proceed and then the user should be notified that it is safe to physically remove the device.

    In your method, do you wait for some time before running the unmount command? That is a precaution I always take.
    de gustibus et coloribus non est disputandum -- Wiktionary

  4. #4
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,733
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Eject safely versus unmount?

    There's an "indicator" available here: USB Safe Removal but it's a .deb and not from the USC. It seems to be written in Python and my knowledge of that is zero.
    de gustibus et coloribus non est disputandum -- Wiktionary

  5. #5
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Eject safely versus unmount?

    Quote Originally Posted by vasa1 View Post
    deadflowr posted a nice link that shows how Nautilus offers intelligent options for dealing with devices: http://askubuntu.com/q/5845/

    But what about other file managers? Thunar and PCManFM seem limited in this respect. How can users of these file managers remove devices safely?
    Just to state that PCManFM 1.2.0 on 14.04 offers the option to eject, either by clicking on the eject icon or right click.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

  6. #6
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,733
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Eject safely versus unmount?

    Quote Originally Posted by bapoumba View Post
    Just to state that PCManFM 1.2.0 on 14.04 offers the option to eject, either by clicking on the eject icon or right click.
    Is there also the unmount option?
    de gustibus et coloribus non est disputandum -- Wiktionary

  7. #7
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Eject safely versus unmount?

    There is also a panel applet called ejecter which is useful to eject USBs and also CD/DVDs from the drive.
    I use it in xubuntu and lubuntu panels, but have no idea if it works in unity. Add it to your startup applications with a sleep option to make sure the DE is running and an icon will appear only when a USB or CD/DVD is present.
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  8. #8
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Eject safely versus unmount?

    Quote Originally Posted by vasa1 View Post
    Hi sudodus, please see this post: http://askubuntu.com/a/86021

    In it, the poster describes the steps that I think are helpful: first, there should be a sync of data and then the unmount should proceed and then the user should be notified that it is safe to physically remove the device.

    In your method, do you wait for some time before running the unmount command? That is a precaution I always take.
    I am rather sure, that umount flushes the cached data to disk before actually unmounting, in other words, performs sync.

    See this link

    https://lists.debian.org/debian-user.../msg01323.html

    and some extra information at

    http://www.linfo.org/umount.html

  9. #9
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,733
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Eject safely versus unmount?

    Quote Originally Posted by sudodus View Post
    I am rather sure, that umount flushes the cached data to disk before actually unmounting, in other words, performs sync.

    See this link

    https://lists.debian.org/debian-user.../msg01323.html

    and some extra information at

    http://www.linfo.org/umount.html
    Both useful links. Thanks!
    de gustibus et coloribus non est disputandum -- Wiktionary

  10. #10
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Eject safely versus unmount?

    Quote Originally Posted by vasa1 View Post
    Is there also the unmount option?
    From memory yes, but I'm not on my ubuntu machine right now. I'll double check tonight.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •