umount deletes wrong mount point when unmounting

Bug #498423 reported by Anthony DiSante
6
This bug affects 1 person
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/083dfebc-2ce4-4658-97d0-1045fa2972f4

But I already have a mount point I want to use (say /mnt/backupdisk), so I mount the partition there, then unmount the /media/083dfebc-2ce4-4658-97d0-1045fa2972f4 mount point using the command:

umount /media/083dfebc-2ce4-4658-97d0-1045fa2972f4

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/083dfebc-2ce4-4658-97d0-1045fa2972f4) now still exists.

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://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

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
Revision history for this message
Pedro Villavicencio (pedro) wrote :

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.

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Anthony DiSante (theant) wrote :

I've just tested this under Ubuntu 10.10 (Maverick), and yes, the bug still exists.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
Anthony DiSante (theant)
Changed in gvfs (Ubuntu):
status: Expired → New
affects: gvfs (Ubuntu) → udisks (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.