"eject" doesn't work with USB mass storage, "sudo eject" does, Nautilus unmount also does
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eject (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eject
I have an iRiver E10. I use a home made script, when I update the database on the thing, the script includes "eject /media/E10", and that returns an error.
In terminal, I get:
$ eject /media/E10/
umount: /media/E10 is not in the fstab (and you are not root)
eject: unmount of `/media/E10' failed
whereas:
$ sudo eject /media/E10/
works with no errors.
I'm also capable of unmounting via right clicking in a user-mode Nautilus session.
eject on the same device worked fine in Edgy.
Sorry if this has been covered before, I tried to the best of my ability to search, but could find 0 bugs directly involving this. (I have no other unmount problems that I'm aware of)
- Ketil
I also have this problem. I have the original 40gb hard drive that came with my laptop in an external usb case. The nautilus 'eject' command reports that it cannot eject the device and remounts it. Using 'pumount /media/usbdisk' from the command line works. Now, I also use a USB multicard reader which is viewed as four seperate drives and the eject command works without a hitch on that eventhough it of course does not actually do anything but unmount the drive. As above the whole thing worked fine under edgy.