Nemo USB Eject Mint 14 x64

Questions about applications and software
Forum rules
Before you post please read this

Nemo USB Eject Mint 14 x64

Postby kiwi on Fri Jan 11, 2013 7:54 pm

I'm running the current version of Mint 16 with all updates and have noticed an issue (for me) with Nemo.

I love the overall design but when you eject a USB there is no notification that the ejection process is complete or not. The window simply shuts instantly if that is the only Nemo subwindow open. As a result you can remove it while a file is still being written with adverse consequences. For contrast SpaceFM shows a window after you select unmount or eject and that window doesn't close until the USB can safely be removed.

Experiment to demonstrate:
- mount usb
- begin copy of 1GB or more file (which will complete early because linux works that way)
- select eject within the period that the file is still being copied
- remove usb

File will be corrupted at the least.

Would the developers consider bringing up a window or some form of status message that was held until the umount was completed?
User avatar
kiwi
Level 1
Level 1
 
Posts: 24
Joined: Thu Nov 08, 2012 4:48 am
Location: Australia

Linux Mint is funded by ads and donations.
 

Re: Nemo USB Eject Mint 16 x64

Postby abnvolk on Fri Jan 11, 2013 8:04 pm

I think you should wait for the copy/move operation to finish before unmounting because Nemo unmounts devices instantly. And while clicking on the icon, you shouldn't be browsing your devices - the window would close if you did so.
abnvolk
Level 4
Level 4
 
Posts: 495
Joined: Thu May 10, 2012 11:05 am

Re: Nemo USB Eject Mint 14 x64

Postby kiwi on Fri Jan 11, 2013 9:08 pm

You misunderstand me. Perhaps I wasn't clear enough. As the experiment is carried out, to be clearer.

Mount USB
It opens a Nemo window,
use F3 or new tab to open a window with large file for copying
copy the file
wait till mint says its finished
... (it hasn't really because the copy speed is shown as 200Mbps+
.... buts really only about 7Mbps over USB2 to my transcend usbs)
wait a few seconds for generosity
select eject from the nemo menus
it ejects (and the subwindow showing the usb disappears)

If you then remove the USB (while you know the copy must still be continuing at 7Mbps) then the file will be corrupted.

Nemo reports the copy finished
Nemo reports the usb unmounted/ejected (by closing the window)
It HAS NOT FINISHED


If you use SpaceFM then it will still report the copy being finished early (simply because Linux reports it thus to the application) but the difference is that if you select Remove/Eject it will either:
a) close the window immediately if there are no operations still in progress; or
b) show a sub window with the "eject progress" at 50% until all operations have finished then close all related windows when it has finished.


Although SpaceFM has some nice features and does eject USBs correctly I like what the team is doing with Mint and would like to stay true to its Core applications if possible. So I'd appreciate either a suggestion of changes to my configuration so that nemo behaves correctly or perhaps acknowledgement of the issue and the possibility of a fix.
User avatar
kiwi
Level 1
Level 1
 
Posts: 24
Joined: Thu Nov 08, 2012 4:48 am
Location: Australia

Re: Nemo USB Eject Mint 14 x64

Postby kiwi on Mon Jan 21, 2013 8:44 pm

bump.

Not sure if this doesn't matter or everyone's on holiday.
User avatar
kiwi
Level 1
Level 1
 
Posts: 24
Joined: Thu Nov 08, 2012 4:48 am
Location: Australia

Re: Nemo USB Eject Mint 14 x64

Postby Chris_Z on Thu Jan 24, 2013 9:00 am

A little script is posted in Comment #31 here.
It seems to work close to what "Safely Remove" did.
Chris_Z
Level 1
Level 1
 
Posts: 14
Joined: Sun Dec 16, 2012 4:18 pm
Location: Stockholm, Sweden

Re: Nemo USB Eject Mint 14 x64

Postby kiwi on Sat Jan 26, 2013 3:01 am

Thanks Chris,

I just assumed it would be a Nemo issue with the fork from Nautilus but I see its an underlying Ubuntu issue. I gave the script a try and it scared the hell out of me ... offered to detach my SSD (/) but it did refuse to unload the USB while file transfer was continuing.

Since the post I worked out my issues with SpaceFM and now have it properly set up as the default file manager. One of the nice things about it is you can start a file copy then select eject/remove the USB and that task will be queued behind the file copy. So SpaceFM it will be for me anyway.

Thanks again for replying though.
User avatar
kiwi
Level 1
Level 1
 
Posts: 24
Joined: Thu Nov 08, 2012 4:48 am
Location: Australia


Return to Software & Applications

Who is online

Users browsing this forum: Google Adsense [Bot], KBD47 and 15 guests