umount deletes wrong mount point when unmounting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Binary package hint: mount
When I connect an external USB drive, Ubuntu automatically mounts it at some poorly-named mount point like:
/media/
But I already have a mount point I want to use (say /mnt/backupdisk), so I mount the partition there, then unmount the /media/
umount /media/
I then go about my business using /mnt/backupdisk. When I'm done, I unmount that as well:
umount /dev/sdc3
But now, my /mnt/backupdisk directory is gone. Apparently umount deleted it, I guess because it thought it was the mount point that it had automatically created when I first connected the drive. But that directory (/media/
My system info:
[0013][~]$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
[0014][~]$ apt-cache policy mount
mount:
Installed: 2.16-1ubuntu5
Candidate: 2.16-1ubuntu5
Version table:
*** 2.16-1ubuntu5 0
500 http://
100 /var/lib/
affects: | util-linux (Ubuntu) → nautilus (Ubuntu) |
tags: | removed: media mnt mount point umount |
affects: | nautilus (Ubuntu) → gvfs (Ubuntu) |
Changed in gvfs (Ubuntu): | |
importance: | Undecided → Low |
Changed in gvfs (Ubuntu): | |
status: | Expired → New |
affects: | gvfs (Ubuntu) → udisks (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. A new version of GVFS is available on Maverick and we are wondering if this bug is still an issue for you with that version? Could you please test and comment back? Thanks in advance.